[Haskell-cafe] Deprecation being transitively reported for re-exported definitions
tikhon at jelv.is
Sun Aug 15 02:00:07 UTC 2021
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
On Sat, Aug 14, 2021, 18:44 Viktor Dukhovni <ietf-dane at dukhovni.org> wrote:
> > On 14 Aug 2021, at 9:22 pm, Ivan Perez <ivanperezdominguez at gmail.com>
> > I have a library that is exposing too much. As a minimal example, say
> the library contains:
> > - Module A, which defines several functions and types.
> > - Module B, which exports specific definitions from module A and has
> none of its own.
> The simplest solution might be:
> module B (somefunction)
> import qualified A
> somefunction = A.somefunction
> This creates a *new* function in B, which is not deprecated, without
> re-exporting anything from A.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe