News for hackers. Stuff that matters.
Re:Small Assets without the Headache in Elm 0.19 by leshow on Tuesday August 21, 2018 @03:16PM (#17812802)
I don't think it's crazy to wish for some kind of interface or trait-like abstraction mechanism in a language. Anything taken to the extreme can sound stupid.

edit: I'm not saying Elm should change, the time for that is long gone. Just that the idea someone would want an interface (to do things like bound on generically) isn't that far fetched.

Re:Small Assets without the Headache in Elm 0.19 by Skinney on Tuesday August 21, 2018 @04:15PM (#17813351)
> the time for that is long gone

What makes you say that? Elm has yet to reach 1.0, anything can happen. It's not likely it will happen any time soon, however.

Re:Small Assets without the Headache in Elm 0.19 by leshow on Thursday August 23, 2018 @09:24AM (#17827023)
> What makes you say that?

Because Evan has shown no interest in implementing a feature like what I'm describing.

Re:Small Assets without the Headache in Elm 0.19 by Skinney on Sunday August 26, 2018 @06:43AM (#17845274)
That's like saying Go will never get generics because it doesn't have it right now. Evan doesn't believe type classes are a right fit for Elm, but he has never to my knowledge ruled out that ad-hoc polymorphism will be added to the language.