[Haskell-cafe] Re: seems like I'm on the wrong track
jwlato at gmail.com
Thu Dec 3 12:45:10 EST 2009
> From: Henning Thielemann <lemming at henning-thielemann.de>
> Michael P Mossey schrieb:
>> Perhaps someone could either (1) help me do what I'm trying to do, or
>> (2) show me a better way.
>> I have a problem that is very state-ful and I keep thinking of it as OO,
>> which is driving me crazy. Haskell is several times harder to use than
>> Python in this instance, probably because I'm doing it wrong.
>> To give you a larger context, this problem is essentially compiling a
>> description of music (my own) into a kind of music-machine-language
>> (CSound). CSound is relatively untidy.
> There are currently two public interfaces to CSound:
Incidentally, these two packages serve very different purposes.
hCsound is an interface to the Csound runtime API, while the Haskore
interface is an EDSL front-end to Csound's own input format. There is
very little overlap in functionality between the two. The Haskore
interface is much closer to what Michael wants to do, but as he's
commented already, it is a bit dated. hCsound is unlikely to be of
much use for compiling a secondary language to csound code.
More information about the Haskell-Cafe