[Haskell-cafe] Taking over `data-default-*`

Tony Morris tonymorris at gmail.com
Thu May 10 21:00:36 UTC 2018

Instead of (Default a =>) use ((->) a).

On 05/11/2018 03:08 AM, Viktor Dukhovni wrote:
>> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180511/5ec429ab/attachment.sig>

More information about the Haskell-Cafe mailing list