<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I have commented on GitHub with my thoughts here: <a href="https://github.com/ghc-proposals/ghc-proposals/pull/409#issuecomment-848221001" class="">https://github.com/ghc-proposals/ghc-proposals/pull/409#issuecomment-848221001</a><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Richard<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 20, 2021, at 11:24 AM, Alejandro Serrano Mena <<a href="mailto:trupill@gmail.com" class="">trupill@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="" class=""><div dir="ltr" class="">
    Hi all,</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">I agree with the recommendations of accepting (1) and rejecting (2) and (3). The Report here (<a href="https://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-790004.3.4" class="">https://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-790004.3.4</a>) mentions that defaults are local to a module, and I think this is the right move, even more so since we can think of other ways of importing/exporting defaults, like plug-ins.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Alejandro<br class=""><br class="">
    <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">El 19 may 2021 4:11:48, Eric Seidel <<a href="mailto:eric@seidel.io" class="">eric@seidel.io</a>> escribió:<br class=""></div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            
<div class="">
<div class="">
    Hi all,<br class=""><br class="">Mario has proposed a handful of language extensions around type defaulting.<br class=""><br class="">1. NamedDefaults: this extension simply allows specifying the class to default, instead of it always being Num (or a handful of other hardcoded classes if one enables ExtendedDefaultRules). The rule only applies to the current module, as usual.<br class=""><br class="">2. ExportedDefaults: this extension allows exporting defaulting rules.<br class=""><br class="">3. ImportedDefaults: this extension makes import declarations pull in defaulting rules implicitly, like class instances.<br class=""><br class="">Extensions (2) and (3) work together to provide a mechanism for sharing sets of defaulting rules across modules. It is possible to import conflicting sets of defaulting rules from different modules, in that case the conflict must be resolved manually by the importing module, with a new defaulting rule.<br class=""><br class="">My recommendation is that we<br class=""><br class="">* Accept extension (1), as it is a clear improvement over the status quo and can stand on its own.<br class=""><br class="">* Reject (without prejudice) extensions (2) and (3). These extensions bring considerable extra complexity and another orphan-like mechanism. There's an open question here of whether defaulting rules should be globally coherent like type classes, or if they're something different; the discussion has arguments for both sides. I'm not sure, and so I recommend we don't commit ourselves one way or the other for now. <br class=""><br class="">Please take a look at the proposal.<br class=""><br class="">Discussion: <a href="https://github.com/ghc-proposals/ghc-proposals/pull/409" class="">https://github.com/ghc-proposals/ghc-proposals/pull/409</a><br class="">Proposal: <a href="https://github.com/blamario/ghc-proposals/blob/exportable-named-default/proposals/0000-exportable-named-default.rst" class="">https://github.com/blamario/ghc-proposals/blob/exportable-named-default/proposals/0000-exportable-named-default.rst</a><br class=""><br class="">Eric<br class=""><br class="">On Sun, Apr 4, 2021, at 06:34, Joachim Breitner wrote:<br class=""><blockquote type="cite" class=""> Dear Committe,<br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> Exportable named defaults<br class=""></blockquote><blockquote type="cite" class=""> has been proposed by Mario<br class=""></blockquote><blockquote type="cite" class=""> <a href="https://github.com/ghc-proposals/ghc-proposals/pull/409" class="">https://github.com/ghc-proposals/ghc-proposals/pull/409</a><br class=""></blockquote><blockquote type="cite" class=""> <a href="https://github.com/blamario/ghc-proposals/blob/exportable-named-default/proposals/0000-exportable-named-default.rst" class="">https://github.com/blamario/ghc-proposals/blob/exportable-named-default/proposals/0000-exportable-named-default.rst</a><br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> I propose Eric as the Shepherd.<br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> This did not gather a lot of attention on Github, or rather none, so<br class=""></blockquote><blockquote type="cite" class=""> Eric, maybe also consider whether this needs to be advertised more, or<br class=""></blockquote><blockquote type="cite" class=""> maybe who should be pointed to it.<br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> Please guide us to a conclusion as outlined in <br class=""></blockquote><blockquote type="cite" class=""> <a href="https://github.com/ghc-proposals/ghc-proposals#committee-process" class="">https://github.com/ghc-proposals/ghc-proposals#committee-process</a><br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> Thanks,<br class=""></blockquote><blockquote type="cite" class=""> Joachim<br class=""></blockquote><blockquote type="cite" class=""> -- <br class=""></blockquote><blockquote type="cite" class=""> -- <br class=""></blockquote><blockquote type="cite" class=""> Joachim Breitner<br class=""></blockquote><blockquote type="cite" class="">   <a href="mailto:mail@joachim-breitner.de" class="">mail@joachim-breitner.de</a><br class=""></blockquote><blockquote type="cite" class="">   <a href="http://www.joachim-breitner.de/" class="">http://www.joachim-breitner.de/</a><br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote><blockquote type="cite" class=""> _______________________________________________<br class=""></blockquote><blockquote type="cite" class=""> ghc-steering-committee mailing list<br class=""></blockquote><blockquote type="cite" class=""> <a href="mailto:ghc-steering-committee@haskell.org" class="">ghc-steering-committee@haskell.org</a><br class=""></blockquote><blockquote type="cite" class=""> <a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" class="">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br class=""></blockquote><blockquote type="cite" class=""> <br class=""></blockquote>_______________________________________________<br class="">ghc-steering-committee mailing list<br class=""><a href="mailto:ghc-steering-committee@haskell.org" class="">ghc-steering-committee@haskell.org</a><br class=""><a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" class="">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br class="">
</div>
</div>
        </blockquote>
    </div>
</div></div></div>
_______________________________________________<br class="">ghc-steering-committee mailing list<br class=""><a href="mailto:ghc-steering-committee@haskell.org" class="">ghc-steering-committee@haskell.org</a><br class="">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee<br class=""></div></blockquote></div><br class=""></div></body></html>