Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Allow syntactic sugar (fn a -> b -> ... -> z) #26

Open
stylewarning opened this issue Jul 25, 2020 · 0 comments
Open

Allow syntactic sugar (fn a -> b -> ... -> z) #26

stylewarning opened this issue Jul 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@stylewarning
Copy link
Owner

Allow syntactic sugar for curried function types:

(fn <ty>* -> <ty>* -> ... -> <ty>* -> <ty>)

This would match Haskell et al. and be right-associative.

This would require being able to (a) parse these types, and (b) print these types.

The tyfun object shouldn't need to be modified.

@stylewarning stylewarning added the enhancement New feature or request label Jul 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant