gale at sefer.org
Tue Oct 4 15:49:36 CEST 2011
Roman Leshchinskiy wrote:
> In general, if we are going to overload list literals then forcing the
> desugaring to always go through lists seems wrong to me. There are plenty
> of data structures where that might result in a significant performance
These are literals. So the lists will almost always be quite short,
and they will be evaluated only once. So I don't think there will
be that much of a performance hit normally.
That said, my extension that allows them to be desugared
at compile time would solve that issue if it arises.
More information about the Glasgow-haskell-users