<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I'm sympathetic to this proposal, but I don't have a well considered opinion. Instead, I'll present a few facts:<div class=""><br class=""></div><div class="">- TYPE, RuntimeRep, and Multiplicity should be allowed in Safe Haskell. You can't do anything untoward with these folks.</div><div class=""><br class=""></div><div class="">- That said, Safe should not imply that linear-types guarantees are in force. At least, not yet. Linear types features cannot cause seg-faults (or other violations of safety expectations).</div><div class=""><br class=""></div><div class="">- RuntimeRep has not yet stabilized. But it is a niche feature, and I wouldn't really expect stabilization here for some time.</div><div class=""><br class=""></div><div class="">Maybe a nice compromise is introducing GHC.Kind that is -XSafe and exports all of these?</div><div class=""><br class=""></div><div class="">Richard<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 3, 2020, at 6:49 AM, Carter Schonwald <<a href="mailto:carter.schonwald@gmail.com" class="">carter.schonwald@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">David makes a very good point here. That perhaps they should first stabilize a bit more before being exposed through there </div></div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 2, 2020 at 12:12 PM David Feuer <<a href="mailto:david.feuer@gmail.com" class="">david.feuer@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto" class="">My impression is that RuntimeRep may not have stabilized all the way yet. There are things that work for LiftedRep and UnliftedRep that want to be polymorphic that way.</div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 2, 2020, 12:10 PM Krzysztof Gogolewski <<a href="mailto:krz.gogolewski@gmail.com" target="_blank" class="">krz.gogolewski@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hello,<br class="">
<br class="">
I'd like to export TYPE, RuntimeRep(..), Multiplicity(..) from Data.Kind.<br class="">
(Multiplicity is the Linear Haskell type - One and Many.)<br class="">
<br class="">
Currently you have to import GHC.Exts / GHC.Types which conflicts with<br class="">
Safe Haskell. I think both levity and linearity polymorphism<br class="">
should be available under Safe Haskell.<br class="">
<br class="">
Data.Kind already contains Constraint and Type.<br class="">
<br class="">
-Krzysztof<br class="">
_______________________________________________<br class="">
Libraries mailing list<br class="">
<a href="mailto:Libraries@haskell.org" rel="noreferrer" target="_blank" class="">Libraries@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br class="">
</blockquote></div>
_______________________________________________<br class="">
Libraries mailing list<br class="">
<a href="mailto:Libraries@haskell.org" target="_blank" class="">Libraries@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br class="">
</blockquote></div></div>
_______________________________________________<br class="">Libraries mailing list<br class=""><a href="mailto:Libraries@haskell.org" class="">Libraries@haskell.org</a><br class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries<br class=""></div></blockquote></div><br class=""></div></body></html>