image.png
Is this a bug? I essentially have
the two lines here are identical yet there is a type error. I.e. i essentially have
moreover have "... = x"
moreover have "... = x" (* type unification failed *)
the second line with the error I assume should desugar to moreover have "x = x"
and should not be a type error!?
in the "| a b C c" remove the "c", which is not used anywhere
currently it is here and must have a type
due to that, there is the "'a itself" you are seeing
and it does not type
Alternative: give c a type in each expression and the 'a itself
will disappear
Last updated: Dec 21 2024 at 16:20 UTC