Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation of labeled arguments (mantis PR#3688) #61

Open
damiendoligez opened this issue Jan 9, 2015 · 0 comments
Open

documentation of labeled arguments (mantis PR#3688) #61

damiendoligez opened this issue Jan 9, 2015 · 0 comments

Comments

@damiendoligez
Copy link

This came up in the discussion of PR#3688 on Mantis:

Also in OCaml interface file we write

val f : x:int -> y:int -> int

but in revised we should write with ~:

value f : ~x:int -> ~y:int -> int

It seems that Chapter 6 Revised syntax doesn't say anything about labeled arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant