ordo icon indicating copy to clipboard operation
ordo copied to clipboard

Call a function with a record with all the named parameters as fields

Open FrankBro opened this issue 5 years ago • 0 comments

This is a suggestion that might force users to give good names to their parameters.

Here is an example of how it would work:

let connect address port = (* whatever *)

connect "google.com" 80

{ address = "google.com", port = 80 }
|> connect

FrankBro avatar Jan 18 '19 21:01 FrankBro