Dummy export for Text.Show.Functions

Thomas Jäger thjaeger at gmail.com
Fri Jun 24 17:54:20 EDT 2005


Greetings list,

The module Text.Show.Functions only defines a Show instance for
function types, and thus exports nothing. This is annoying when -Wall
is used, as ghc can't check whether the instance is actually used in
the program and always issues a warning.

> Warning: Module `Text.Show.Functions' is imported, but nothing from it is used           
>        (except perhaps instances visible in `Text.Show.Functions')

Would it be possible for Text.Show.Functions to (re)export a dummy
entity, preferably Show(..), since most modules that use this module
will call show anyway?


Thomas


More information about the Libraries mailing list