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
(Please forgive my terminology, this might not actually be a "mutual inductive type" in StandardML terms.) The following code is accepted by SML/NJ but shows an error in Millet.
datatype foo1 = Foo1 of bar1 (* works *)andbar1 = Bar1 of int
datatype bar2 = Bar2 of int (* works *)andfoo2 = Foo2 of bar2
signature BLAH =
sigdatatypefoo3 = Foo3 of bar3 (* undefined type: `bar3` Millet(5001) *)
and bar3 = Bar3 of int
datatypebar4 = Bar4 of int (* works *)
andfoo4 = Foo4 of bar4
end
Expected behaviour
datatype foo3 in the signature should be accepted by Millet.
The text was updated successfully, but these errors were encountered:
Problem
(Please forgive my terminology, this might not actually be a "mutual inductive type" in StandardML terms.) The following code is accepted by SML/NJ but shows an error in Millet.
Expected behaviour
datatype foo3
in the signature should be accepted by Millet.The text was updated successfully, but these errors were encountered: