[Haskell-cafe] Taking over `data-default-*`
Viktor Dukhovni
ietf-dane at dukhovni.org
Thu May 10 17:08:04 UTC 2018
> On May 10, 2018, at 12:56 PM, Adam Bergmark <adam at bergmark.nl> wrote:
>
> I agree that you should avoid Data.Default, but there is still value in keeping the package up to date since it is well-used. I would appreciate it being actively maintained.
>
> I would however find it in bad taste to do a take over that immediately marks the package as deprecated...
I use Hasql, and Hasql makes extensive use of Default to implement default
encoders for various data types and tuples thereof. Is there a better design
that the author of Hasql should be using instead?
https://hackage.haskell.org/package/hasql-1.1.1/docs/Hasql-Encoders.html#t:Value
--
Viktor.
More information about the Haskell-Cafe
mailing list