diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2022-09-11 21:04:09 -0700 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2022-09-11 21:04:09 -0700 |
| commit | 6fcbcb61af5e7723442334e4cce075c28fb3901b (patch) | |
| tree | ffa466770bcde685b314776fbe3750ef26a34295 /either.sml | |
| parent | Fix some style issues in map.sml. (diff) | |
| download | sml-6fcbcb61af5e7723442334e4cce075c28fb3901b.tar.zst | |
Add a simple expression parser.
Diffstat (limited to 'either.sml')
| -rw-r--r-- | either.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/either.sml b/either.sml new file mode 100644 index 0000000..6a63fe5 --- /dev/null +++ b/either.sml @@ -0,0 +1,4 @@ +structure Either = +struct + datatype ('a, 'b) either = Left of 'a | Right of 'b +end |
