Olaf Chitil wrote:

 | Admittedly, many Haskell beginners fall into the `show
 | []' trap.

Indeed. And this is a perfect example of the fact that all
this bottom-dictionary passing does not work. The type of
the list still matters though:

  Hugs> show ([] :: [Char])
  "\"\""

  Hugs> show ([] :: [Int])
  "[]"

/Koen


_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to