This is weird. For some reason I got it into my head that tags are not comparable. Now I can't remember when or why.
The code seams to work on my end too and for my sanity I checked it on 0.17 and 0.16 and it works in those versions too. weird. On Mon, Dec 5, 2016 at 11:59 PM, Wouter In t Velt <[email protected]> wrote: > Op maandag 5 december 2016 22:51:02 UTC+1 schreef Peter Damoc: >> >> You cannot use comparison on tags. >> > > I can see your version is cleaner. > Do you mean a comparison with a maybe is not allowed? Like this? > -- is this not allowed? > if someMaybe == Just 42 then > ... > > The original change I made did seem to work at my end, and the compiler > didn't complain.. > Or is it convention rather than rule? > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
