
17 Oct
2004
17 Oct
'04
9:29 a.m.
I am stuck on an exercise in a haskell book (the craft of functional programming) chapter 7 exercise 7.18 I have to write a function to check does one list occur as a subsequence of another, i am having real difficulty trying to do this. I have a method which will tell me if one character occurs in the list but it won't work for a list of characters. the function should look like isSubsequence :: [chars] -> [chars] -> boolean any help on this, even a polymorphic type function would be greatly appreciated Thank you Peter Stranney Peter Stranney --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today!