
5 Jul
2006
5 Jul
'06
9:07 a.m.
Hello Donald, Wednesday, July 5, 2006, 3:38:44 PM, you wrote:
In MissingH, I have a bunch of little functions that operate on lists. Some, like uniq (which eliminates duplicate elements in a list), operate on (Eq a => [a]) lists. Others, like strip (which eliminates whitespace at the start and end), operate on Strings only.
Spencer Janssen is actually working on such a class (String) to deal with this, initially to support [a] and Word8 and Unicode bytestrings, as part of his Summer of Code project.
it will be better to implement ListLike class that supports any type of elements -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com