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 > hit.
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. Regards, Yitz _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users