You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behavior is in line with SML as specified by the Definition. Poly/ML, for example, would give you a similar response. You are not the first to observe this - see this response. Unfortunately compiler extensions lead to non-portable code.
SML/NJ understands this:
MLton 20210117 (latest on homebrew) gives this error:
So, it seems that the types in
withtype
do not know each other.The text was updated successfully, but these errors were encountered: