diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2023-02-12 15:37:25 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2023-02-12 15:37:25 -0800 |
| commit | d940187fd8720e0ab3c00e5a6a7ae8f181c7752d (patch) | |
| tree | 69df829ae1e7fb9454008920b49db08489d939a6 /opts.sml | |
| parent | 5989629a7951e544ad4656672025a99ecd08c7c9 (diff) | |
| download | sml-d940187fd8720e0ab3c00e5a6a7ae8f181c7752d.tar.zst | |
Add lambda functions.
Diffstat (limited to 'opts.sml')
| -rw-r--r-- | opts.sml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ struct | "False" => false | _ => error "invalid boolean value" - fun getOpt (desc : (string * 'a optDesc) list) : string list = + fun getOpt (desc : (string * 'a optDesc) list) (args : string list) : string list = let val parsers = StringMap.fromList desc fun go [] = [] @@ -76,6 +76,6 @@ struct go args) end in - go (CommandLine.arguments ()) + go args end end |
