@panproto.devpanproto @panproto.dev
2026-09-12 20:08 UTC
Constructors may refine result indices. For instance: nil : Vec(0) and cons : A × Vec(n) → Vec(succ n). Panproto uses those refinements during type checking. A constructor or branch at the wrong index is rejected.
1 picture (not shown on this phone): Syntax-highlighted Python defining zero and successor, followed by highlighted vector constructors. nil returns Vec(zer…
A reply in a thread.
0 likes, 0 reposts, 1 replies
3 Next post4 More from @panproto.devBackBluesky home