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
I think your idea is great.
But I believe, that your Syntax,
apparently modeled on Python decorators may not be the best one to use.
I believe, it could be very much worth it to think about modelling
the Syntax on Set-builder notation.
An example:
dividedBy:Int\{0} ->Int->IntdividedBy a b = b // a
This extends the perspective on types as sets.
Another example using a predicate:
not_null:Int->Boolnot_null =(/=)0dividedBy: { x <- Int | not_nullx } ->Int->IntdividedBy a b = b // a
What do you think?
The text was updated successfully, but these errors were encountered:
I think your idea is great.
But I believe, that your Syntax,
apparently modeled on Python decorators may not be the best one to use.
I believe, it could be very much worth it to think about modelling
the Syntax on Set-builder notation.
An example:
This extends the perspective on types as sets.
Another example using a predicate:
What do you think?
The text was updated successfully, but these errors were encountered: