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
{{ message }}
This repository was archived by the owner on Aug 15, 2018. It is now read-only.
Intersection types are just a conjunction of two other type constraints. We see their utility in the default types implemented in error:has_type/2. For example, positive_integer is really the intersection of positive and integer.
Support intersection types with a syntax similar to union types:
Intersection types are just a conjunction of two other type constraints. We see their utility in the default types implemented in
error:has_type/2
. For example,positive_integer
is really the intersection ofpositive
andinteger
.Support intersection types with a syntax similar to union types:
It might be nice to add a little extra sugar so we avoid the extra parens, but I'm not we should at this point:
The text was updated successfully, but these errors were encountered: