Hello Cristiano,

Wednesday, September 16, 2009, 12:04:48 PM, you wrote:

> Yep, perhaps I used the wrong example. What about foo: (forall a. a) -> Int?

it's a function that convert anything to integer. for example:

foo _ = 1

it's hard to find better examples, since haskell has very few
functions with fully polymorphic arguments


-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

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

Reply via email to