You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to have a value of type Type containing the type constructor Maybe, and another value of type Type containing the type Integer. We should define an operation which combines them into a value of type Type containing the type (Maybe Integer).
Since this can fail (e.g. (Integer Maybe) should be rejected), this must be a macro action.
@david-christiansen if failure is the only reason for apply-type to have type (-> Type Type (Macro Type)), would it perhaps make more sense for it to have type (-> Type Type (Maybe Type)) instead, like funResultTy in Haskell?
It is possible to have a value of type
Type
containing the type constructorMaybe
, and another value of typeType
containing the typeInteger
. We should define an operation which combines them into a value of typeType
containing the type(Maybe Integer)
.Since this can fail (e.g.
(Integer Maybe)
should be rejected), this must be a macro action.The text was updated successfully, but these errors were encountered: