[Haskell-cafe] Language extensions

Henning Thielemann lemming at henning-thielemann.de
Wed May 30 08:35:38 EDT 2007


On Tue, 29 May 2007, Andrew Coppin wrote:

> OTOH, how many function can you write with :: [Int] -> Int? I can think
> of a few...

You will probably more like to implement functions like
  Ord a => [a] -> a
  Num a => [a] -> a
 and those generalized signatures tell you more. :-)


More information about the Haskell-Cafe mailing list