forked from rossberg/1ml
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sugar for type params in pats like in binds and decls
For example, previously one could write foo (id: 'a => a => a) = ;; ... bar ({id: 'a => a => a}) = ;; ... now one could also write foo (id 'a: a => a) = ;; ... bar ({id 'a: a => a}) = ;; ... similarly to what can be written in declarations type FUN = { id 'a: a => a; } The main motivation for this addition is to make it possible to copy/cut-and-paste between declarations and patterns.
- Loading branch information
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters