Conversation

One can imagine a kind of "dependent with" type. (x : S) & T x lets you choose at runtime between a "raw" S and a "cooked" T whose type depends on what the S used to be. Both components may be *contemplated* but only one may exist at run time.
5
21
Is it a bit like the ‘pair’ in linear types (can't remember the name… additive conjunction I think?), where you can inspect one component, or the other component, but not both?
1
Show replies