[Haskell-cafe] Text search

Gracjan Polak gracjan at acchsh.com
Mon May 16 04:27:15 EDT 2005


Simple question: I need a function that matches string in another 
string. Something like:

find (isSuffixOf "needle") (inits "haystack")

This one is beautiful, but not very practical. Could anybody point me to 
some haskell library that does some searching, using KMP for example?


More information about the Haskell-Cafe mailing list