<div>I'd be more interested in a kitchen-sink "List" class. ByteString, ByteString.Lazy, Text, [a], and the pending Text.Lazy all support the basic operations of lists of a particular type. It'd be a fairly huge dictionary by the current API design of those however. Its just a reiteration of the classic "Collection" class example.<br>
<br>The biggest problem is that it requires either MPTCs/fundeps or type aliases to make it work, which makes less progressive folks queasy about its inclusion as a standard library.<br> <br>On the other hand, if you're going that far, it'd be nice to factor out a superclass or two for things like lookup/insert functionality, so you can eliminate a major reason why Data.Map has to be imported qualified as well.</div>
<div> </div>
<div>-Edward Kmett<br></div>
<div class="gmail_quote">On Fri, Mar 6, 2009 at 11:16 AM, minh thu <span dir="ltr"><<a href="mailto:noteed@gmail.com">noteed@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2009/3/6 Wolfgang Jeltsch <<a href="mailto:g9ks157k@acme.softbase.org">g9ks157k@acme.softbase.org</a>>:<br>
<div class="im">> Am Freitag, 6. März 2009 13:33 schrieb Matthew Pocock:<br>>> Hi,<br>>><br>>> It seems every time I look at hackage there is yet another stringy<br>>> datatype. For lots of apps, the particular stringy datatype you use matters<br>
>> for performance but not algorithmic reasons. Perhaps this is a good time<br>>> for someone to propose a stringy class?<br>>><br>>> Matthew<br>><br>> There is already the class IsString which was introduced for overloaded string<br>
> literals.<br>><br>> However, the name is terrible. No other Haskell class I know of has an “Is” at<br>> its beginning. Classes don’t name properties (IsNum, IsMonoid, Has…).<br><br></div>LLVM bindings use it a lot...<br>
<br>Cheers,<br><font color="#888888">Thu<br></font>
<div>
<div></div>
<div class="h5">_______________________________________________<br>Haskell mailing list<br><a href="mailto:Haskell@haskell.org">Haskell@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell" target="_blank">http://www.haskell.org/mailman/listinfo/haskell</a><br>
</div></div></blockquote></div><br>