[Haskell-cafe] Announcement: Bang, a drum DSL for Haskell

Richard A. O'Keefe ok at cs.otago.ac.nz
Tue Jun 10 22:27:58 UTC 2014


On 10/06/2014, at 8:15 PM, J. Waldmann wrote:
> * (as with all Haskell EDSLs for music) a basic inconvenience in writing and
> reading is that the "space" symbol is application, while we actually want it
> for concatenation, to write a sequence of events without extra syntax
> (concatenation operators, or commas in list literals).

So you can't write a, a b, a b c, a b c d, and so on meaning
concatenation every time, but can't you use the ideas of
http://okmij.org/ftp/Haskell/polyvariadic.html#polyvar-fn
to write f a, f a b, f a b c, f a b c d, and so on?





More information about the Haskell-Cafe mailing list