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 Jun 15, 2023. It is now read-only.
Currently they are all de-sugared into OCaml syntax fn () [@bs]
The thing is that in BuckleScript, since there is no syntax space for arity zero, so we make a special form that fn () [@bs] is treated arity zero application.
I wonder Reason could make a difference here which feels more intuitive:
fn (.) --> arity zero -> fn () [@bs]
fn (. ()) --> arity 1 -> let unit = () in fn unit of course, some care need to be taken to avoid name collision
Uh oh!
There was an error while loading. Please reload this page.
Extracted from this issue:
Example where this causes an issue:
See Playground Link
The text was updated successfully, but these errors were encountered: