Looks like a bug in GHCI, I guess.
test x y =
let f = isInfixOf
in f x y
---
*Main> :t test
test :: (Eq a) => [a] -> [a] -> Bool
Name:
Anonymous2011-04-01 13:27
Now let's wait for all the Python weenie who don't like Haskell to make a comment.
Name:
Anonymous2011-04-01 13:31
One word, monomorphism restriction, thread over.
Name:
Anonymous2011-04-01 13:31
FUUFUUUUck toyu
u
Name:
Anonymous2011-04-01 14:46
>>3
fuck you cock sucking faggot i fucking hate you
I like Haskell, though.
Name:
phyton4lyfe2011-04-01 15:00
>>3
one owrd teh foredc rsetriction of monmorophims thraed over.
Name:
Anonymous2011-04-01 16:44
Why do we need Haskell, when we have C++? You can concieve buttugly ideas, using C++ templates category theory. And writing C++ already requires PhD and years of learning.
I can write a Haskell program that can calculate the exact number to the factorial of 1000. How many lines of C++ would it take you to do the exact same thing?
Name:
Anonymous2011-04-01 16:59
The Haskell program to calculate the exact factorial of 1000 is only one line.
>>12
And how many fugly lines of C/Assembly are behind your ability to write that one line program? 1) You can do this in under 100 lines of code (I'm too busy to do it for you). 2) I have to be a better programmer and mathematician than you to do it in C/C++. 3) I've written this program in C++: http://webspace.webring.com/people/ot/tdimo33946/Integer3_new1.zip