Closed jonaprieto closed 1 year ago
It's about your stlc
datastructure (https://github.com/anoma/geb/blob/main/src/specs/lambda.lisp). If you don't have the type info about missing option in left/right coproduct injection, then not every term has a unique type. That's also the case when you don't have the result type specified in the absurd
constructor (which you don't), so also consider adding that one.
Agreed, we'll add these.
absurd
as well as left
and right
).Done in #81 .
Please consider adding the Object information missing from the left and right morphisms. Say
left a
is of objectcoprod A B
, I expect to write in the futureleft a B
, as the object fora
can be inferred. We plan to use this info to have a simple type-checking/inference algorithm for the Geb backend of Juvix.