diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2023-02-11 09:40:25 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2023-02-11 09:40:25 -0800 |
| commit | ddb69212f03a82e980144594d809a072b50e7f19 (patch) | |
| tree | feffd8402d40c8ee0c3bb441355db956ef4cc6f9 /result.sml | |
| parent | Write a first draft of the compiler. (diff) | |
| download | sml-ddb69212f03a82e980144594d809a072b50e7f19.tar.zst | |
Finish the compiler.
Just joking. But we did manage to compile a program from SML
to bytecode.
Diffstat (limited to 'result.sml')
| -rw-r--r-- | result.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/result.sml b/result.sml new file mode 100644 index 0000000..ff1a9a3 --- /dev/null +++ b/result.sml @@ -0,0 +1,4 @@ +structure Result = +struct + datatype ('a, 'b) either = Left of 'a | Right of 'b +end |
