Hello Slavomir,

Thursday, November 2, 2006, 5:51:17 PM, you wrote:

> I wouldn't like to manually define instances of Visible for all types
> that have Show instances.

believe it or not but i had the same problems

> I think I need something like that:

> class Visible a where
> instance Show a => Visible a where

> Which still doesn't work. Any ideas?

this will work. with addition of

instance Visible a => Visible [a] where

this will not work. it's a mission impossible


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to