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
and later using it for expression evaluation, it occurred to me that this is much overkill.
Expressions carry type information that can be used to alter the result itself and typechecking is making sure that we won't actually need to clip and roll the resulting values.
I've decided to go with simple Int as expression value and use Maybe for its possible invalidity.
RTL values can be
Valid
orInvalid
. Any operation involvingInvalid
value yields anotherInvalid
.Valid
values can are characterized by its type (Ty
orRTy
). It would be nice to have basic set of typeclasses instances for those likeNum
orBounded
.The text was updated successfully, but these errors were encountered: