<div class="gmail_quote">On Sun, Nov 4, 2012 at 5:39 PM, Johan Tibell <span dir="ltr">&lt;<a href="mailto:johan.tibell@gmail.com" target="">johan.tibell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Couldn&#39;t we do it using GHC&#39;s default implementations based on<br>
signatures features, so we don&#39;t have to expose any new things in the<br>
API?<br>
<br>
We used that in unordered-containers like so:<br>
<br>
#ifdef GENERICS<br>
    default parseRecord :: (Generic a, GFromRecord (Rep a)) =&gt; Record<br>
-&gt; Parser a<br>
    parseRecord r = to &lt;$&gt; gparseRecord r<br>
#endif<span class="HOEnZb"></span><br></blockquote><div><br>Exactly, that&#39;s what I meant with DefaultSignatures.<br><br>(I see that someone CC&#39;d you here so maybe you missed the thread on cafe.) <br></div></div>