<div dir="auto">Ivan mentioned that option in his email—seems like that could be okay (but awkward!) for functions, but would not work well for other definitions like typeclasses.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 14, 2021, 18:44 Viktor Dukhovni <<a href="mailto:ietf-dane@dukhovni.org" target="_blank" rel="noreferrer">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">> On 14 Aug 2021, at 9:22 pm, Ivan Perez <<a href="mailto:ivanperezdominguez@gmail.com" rel="noreferrer noreferrer" target="_blank">ivanperezdominguez@gmail.com</a>> wrote:<br>
> <br>
> I have a library that is exposing too much. As a minimal example, say the library contains:<br>
> - Module A, which defines several functions and types.<br>
> - Module B, which exports specific definitions from module A and has none of its own.<br>
<br>
The simplest solution might be:<br>
<br>
        module B (somefunction)<br>
<br>
        import qualified A<br>
<br>
        somefunction = A.somefunction<br>
<br>
This creates a *new* function in B, which is not deprecated, without<br>
re-exporting anything from 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 noreferrer 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>