[Haskell-cafe] Re: instance Eq (a -> b)
ekmett at gmail.com
Mon Apr 19 15:32:49 EDT 2010
Because it is the most utilitarian way to get a bunch of strict ByteStrings
out of a lazy one.
Yes it exposes an implementation detail, but the alternatives involve an
unnatural amount of copying.
On Sat, Apr 17, 2010 at 6:37 PM, Ashley Yakeley <ashley at semantic.org> wrote:
> Ketil Malde wrote:
>> Do we also want to modify equality for lazy bytestrings, where equality
>> is currently independent of chunk segmentation? (I.e.
>> toChunks s1 == toChunks s2 ==> s1 == s2
>> but not vice versa.)
> Why is toChunks exposed?
> Ashley Yakeley
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe