We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
withtype
SML/NJ understands this:
datatype Entry = e_val of string*Clos | e_gen of string*int withtype Env = Entry list and Clos = Tm*Env
MLton 20210117 (latest on homebrew) gives this error:
Undefined type: Env.
So, it seems that the types in withtype do not know each other.