fantasyland / fantasy-land

Specification for interoperability of common algebraic structures in JavaScript
MIT License
10.12k stars 374 forks source link

Add 0 arguments Function type constructor definition #263

Closed xgbuils closed 7 years ago

xgbuils commented 7 years ago

related to #262

davidchambers commented 7 years ago

I think it's clearer to state that the general form is (<input-types>) -> <output-type> but that the parens may be omitted for unary functions.

xgbuils commented 7 years ago

I will do another PR with the suggested explanation.

Thanks!