
10 May
2018
10 May
'18
5 p.m.
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
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:V...