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
This would be convenient when writing large type signatures that contain many complex type constraints. It would let us write each constraint on a separate line with its own => at the end, making it much easier to cut/paste/rearrange the constraints.
It could be treated as syntactic sugar for a comma-separated list of constraints. When pretty-printing type schemas, we could just always use the comma-separated syntax that we have now.
The text was updated successfully, but these errors were encountered:
This would be convenient when writing large type signatures that contain many complex type constraints. It would let us write each constraint on a separate line with its own
=>
at the end, making it much easier to cut/paste/rearrange the constraints.For example, we could write
instead of something like
It could be treated as syntactic sugar for a comma-separated list of constraints. When pretty-printing type schemas, we could just always use the comma-separated syntax that we have now.
The text was updated successfully, but these errors were encountered: