On 08/05/2011 06:14 AM, Nicholas Tung wrote:
Dear all,

     I'd like to write a function "maybeShow :: a -> Maybe String",
which runs "show" if its argument is of class Show.

This is surely an FAQ. Is the answer listed somewhere?

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

Reply via email to