That's also the approach Yi uses. I'm fairly certain there's a library on hackage that makes writing up programs in that style fairly trivial, although I can't remember the details right now. I'd look up Yi as a starting point.

-R. Kyle Murphy
--
Curiosity was framed, Ignorance killed the cat.


On Mon, May 3, 2010 at 16:29, minh thu <noteed@gmail.com> wrote:
Hi,

You can take the xmonad approach: the configuration file is written in
Haskell and compiled, so no need for another language.

Cheers,
Thu

2010/5/3 Martin Erwig <erwig@eecs.oregonstate.edu>:
> One of my students has worked on scripting approach in Haskell:
>
>        http://web.engr.oregonstate.edu/~erwig/papers/abstracts.html#SLE09
>
> --
> Martin
>
>
> On May 3, 2010, at 9:51 AM, Limestraël wrote:
>
>> Hello Café,
>>
>> I don't know if you know conky. It's a well-known open-source system monitor (a software that displays information on the desktop, like CPU frequency, disk usage, network rate, etc.).
>> It is quite good, but it's very descriptive, and even if you can call shell commands it's clearly not made for being scripted.
>> What I would do is to make a similar system monitor, which base would be compiled Haskell code, but that would be scriptable with some DSL, or already existing interpreted language.
>> I've thought about a Lisp/Scheme language, since those languages are functional, dynamically typed and simple (so enable a quick scripting) and I'm not very keen on making my own DSL
>>
>> What I would like to know is:
>> 1) If you have other solutions
>> 2) How do haskellers usually script their applications
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe@haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe