[Haskell-cafe] Confused about type seen in the wild
Kim-Ee Yeoh
ky3 at atamo.com
Thu Apr 10 17:21:36 UTC 2014
No problems here:
# ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> let whee :: Show a => Eq a => a => Bool; whee x = x == x && null
(show x)
Prelude> :t whee
whee :: (Eq a, Show a) => a -> Bool
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140411/839129d2/attachment.html>
More information about the Haskell-Cafe
mailing list