[Haskell-cafe] Subsequence near solved hopefully

Ketil Malde ketil+haskell at ii.uib.no
Sun Oct 17 14:05:09 EDT 2004


Remi Turk <rturk at science.uva.nl> writes:

> You might also want to look at the earlier `any prefix of tails'
> suggestion, as it makes the solution a rather simple one-liner.

Wouldn't that be looking for a sub*string*, and not a (general)
sub*sequence* (which I think does not have to be contigous?)

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list