[Haskell-cafe] Clever generic ByteString hack?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Jul 5 09:07:49 EDT 2006


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 at gmail.com



More information about the Haskell-Cafe mailing list