<div dir="ltr">I think it would be better to just define a new typeclass with some added constraints/documentation to clarify what the defaults mean in hasql. It may end up being a copy of the Default class but I'd still prefer that.<div><br></div><div>Cheers,</div><div>Adam</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 10 May 2018 at 19:08 Viktor Dukhovni <<a href="mailto:ietf-dane@dukhovni.org">ietf-dane@dukhovni.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On May 10, 2018, at 12:56 PM, Adam Bergmark <<a href="mailto:adam@bergmark.nl" target="_blank">adam@bergmark.nl</a>> wrote:<br>
> <br>
> 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.<br>
> <br>
> I would however find it in bad taste to do a take over that immediately marks the package as deprecated... <br>
<br>
I use Hasql, and Hasql makes extensive use of Default to implement default<br>
encoders for various data types and tuples thereof.  Is there a better design<br>
that the author of Hasql should be using instead?<br>
<br>
   <a href="https://hackage.haskell.org/package/hasql-1.1.1/docs/Hasql-Encoders.html#t:Value" rel="noreferrer" target="_blank">https://hackage.haskell.org/package/hasql-1.1.1/docs/Hasql-Encoders.html#t:Value</a><br>
<br>
-- <br>
        Viktor.<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>