We have new versions of panproto (0.74) and didactic (0.15). didactic adds a public general first-order generalized algebraic data type (GADT) and indexed-family language, and panproto checks the resulting theory.
Post
github.comGitHub - panproto/didactic: A typed data library for Python on top of panproto.A typed data library for Python on top of panproto. - panproto/didactic
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.
0 reposts0 likes