I have it, I have it, look at this: type Maybe a = Nothing | Maybe a
It's very popular to name constructor after type in many languages. case msg of Maybe This -> ... Maybe That -> ... Nothing -> ... Also, "Just" is just fine as well. 24.11.2016 10:21 PM "Michael B" <[email protected]> napisaĆ(a): > Maybe a = Nothing | Such a > > elm = Such wow > > -- > 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. > -- 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.
