Closed myreen closed 1 year ago
Note that this simplifies the ThunkLang value type. Currently, the Thunk constructor is defined:
v = ... | Thunk (v + exp) | ...
Once Box
is removed from exp
, the value type should be:
v = ... | Thunk exp | ...
The
Box
constructor is never used in ThunkLang, but was intended as an already evaluated thunk value. In discussions with @hrutvik, I realised that Box shouldn't be present in ThunkLang at all.