Two Proposals

Roman Leshchinskiy rl at
Tue Oct 4 15:38:00 CEST 2011

George Giorgidze wrote:
> This extension could also be used for giving data-parallel array literals
> instead of the special syntax used currently.

Unfortunately, it couldn't. DPH array literals don't (and can't really) go
through lists.

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


More information about the Glasgow-haskell-users mailing list