Re:Elm 0.19.1
by pdamoc on Tuesday October 22, 2019 @12:49AM
(#21320471)
To my understanding, derived serialization is in conflict with type inference. You can have one or the other but it is very complex and difficult to have both. Maybe one day Elm will get it but it is not a trivial implementation and there are other, more important issues that take precedence.
[ Parent
| on HN ]
No, it works fine and inference is completely orthogonal. Haskell and PureScript both have this. You define types and the serialization instances are derived. Elm cannot do this, because it does not even have type classes.
http://hackage.haskell.org/package/aeson-1.4.5.0/docs/Data-A...