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
Didactic can attach an indexed family to Model fields. For example, a record with kind="number" can require a numeric body, and kind="text" can require text. Construction, JSON decoding, and immutable updates enforce the same cross-field dependency.
0 reposts0 likes
No replies yet.