> From: Henning Thielemann <lemm...@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:
>
> http://hackage.haskell.org/packages/archive/haskore/0.1/doc/html/Haskore-Interface-CSound.html
>
> http://hackage.haskell.org/package/hCsound
>

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.

John
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to