I can re-export imported module like:
module My (
module Another
, A
) where
import Another
But this form will export only Another and A. How to export anything (all!) and imported module without to enumerate all exporting symbols? Something like export without the list:
module My where
...
PS. The last form does not re-export importing modules. Is it possible at whole?
module My (module My, module Another) where
import Another
Pretty sneaky, huh?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With