[Haskell-cafe] overloaded list literals?

Serguey Zefirov sergueyz at gmail.com
Mon Sep 6 11:57:46 EDT 2010


2010/9/6 Bulat Ziganshin <bulat.ziganshin at gmail.com>:
> Hello Johannes,
>
> Monday, September 6, 2010, 2:23:35 PM, you wrote:
>
>> so how about using list syntax ( [], : )
>> for anything list-like (e.g., Data.Sequence)?
>
> i'vwe found my own proposal of such type:
> http://www.mail-archive.com/haskell-cafe@haskell.org/msg15656.html

Will Data.Map with its' empty, insert, findMin, etc, "methods" conform
to your proposed type?

I don't think so and I thought twice. ;)


More information about the Haskell-Cafe mailing list