
14 Aug
2021
14 Aug
'21
9:35 p.m.
On 14 Aug 2021, at 9:22 pm, Ivan Perez
wrote: 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. -- Viktor.