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
Instead of having to type t(Maybe, int) or t(Either, "a", str), it would be much cleaner to type Maybe(int) or Either("a", str).
This should be relatively easy to implement, though it would require a major change to some parts of type_system.py, which would be a large breaking change. More experimentation is necessary, I think.
The text was updated successfully, but these errors were encountered:
Thinking about this a bit more, it's not possible to remove t entirely, as it's still needed for polymorphic higher-kinded types (e.g. t("m", "a")), but I still think the Maybe(int) syntax is much cleaner than t(Maybe, int).
Instead of having to type
t(Maybe, int)
ort(Either, "a", str)
, it would be much cleaner to typeMaybe(int)
orEither("a", str)
.This should be relatively easy to implement, though it would require a major change to some parts of
type_system.py
, which would be a large breaking change. More experimentation is necessary, I think.The text was updated successfully, but these errors were encountered: