From ddb69212f03a82e980144594d809a072b50e7f19 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 11 Feb 2023 09:40:25 -0800 Subject: Finish the compiler. Just joking. But we did manage to compile a program from SML to bytecode. --- result.sml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 result.sml (limited to 'result.sml') 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 -- cgit v1.3.1