
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

Thomas Jäger wrote:
Warning: Module `Text.Show.Functions' is imported, but nothing from it is used (except perhaps instances visible in `Text.Show.Functions')
You can explicitely import "nothing" (only instances) by: import Text.Show.Functions() And ghc-6.4 issues no warning. Christian
participants (2)
-
Christian Maeder
-
Thomas Jäger