[Haskell-cafe] Hoogle is great but ...

zaxis z_axis at 163.com
Sun Oct 25 05:46:15 EDT 2009


http://www.haskell.org/hoogle/ is VERY great for haskeller. However, i feel
hoogle should be improved by providing more examples as :

isInfixOf :: Eq a => [a] -> [a] -> Bool

The isInfixOf function takes two lists and returns True iff the first list
is contained, wholly and intact, anywhere within the second.

Example:

isInfixOf "Haskell" "I really like Haskell." -> True
isInfixOf "Ial" "I really like Haskell." -> False

The Example code will be helpful for programmer to understand its
definition.

Sincerely!
-- 
View this message in context: http://www.nabble.com/Hoogle-is-great-but-...-tp26046410p26046410.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list