Something else that hasn't been said: I don't think people have pushed current Elm to its limit yet. The big example is Dict. It is possible, in Elm, to write a dictionary which has its key type as a type parameter, which takes as an argument the comparison function between keys. This would allow you have a dict with your own custom union types.
Nobody has done this (or similar) yet, to my knowledge. I would love to, but my school is draining all of my time right now. I think it's premature to dismiss Elm because of no typeclasses without fully trying the records-of-functions approach to generics. On Thu, Nov 10, 2016 at 1:31 PM, Dylan Sale <[email protected]> wrote: > I think I recall Evan talking about this in one of his talks (I want to > say strangeloop?). The gist of it was that it's fine that Elm isn't Haskell > (or language x). Haskell people have ghcjs and purescript, and really they > should use those if they don't like Elm so that everyone is happier. > > Frankly if this guy is as much of an asshole as he comes across in his > post, it's probably best for the community that he left. > > On Fri, 11 Nov 2016, 07:34 'Andrew Radford' via Elm Discuss, < > [email protected]> wrote: > >> >> On Thursday, 10 November 2016 20:49:08 UTC, Max Goldstein wrote: >> >> What I meant was, Elm needs to choose differently from Haskell, at least >> some of the time, or else there wouldn't be a reason for it to exist. And, >> what seems weak and limited to one person can seem friendly and >> easy-to-start-using to others. >> >> >> I think that was quite well put. >> >> -- >> 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. >> > -- > Dylan Sale > > CTO - Enabled > enabled.com.au > 08 8272 6658 > > -- > 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.
