Re: [Haskell-cafe] Re: EDSL for Makefile

2010-10-03 Thread C K Kashyap
On Sun, Oct 3, 2010 at 5:22 PM, steffen wrote: > If you don't want to mention "r1" explicitly, but want to refer to > "target", "sources" and such only a monadic approach (e.g. Reader > Monad) might be what you want. > Thanks Steffen ... would you be able to give me an example? -- Regards, Kash

Re: [Haskell-cafe] Re: EDSL for Makefile

2010-10-04 Thread Neil Mitchell
Hi > Telling from the video and the slide, Neil's make system is actually > really cool. Indeed something I would really enjoy to use. Thanks :-) > So you use "want" and "need" to tell the system about the static and > dynamic dependencies. > The "want" at the beginning just tells which targets

Re: [Haskell-cafe] Re: EDSL for Makefile

2010-10-07 Thread C K Kashyap
> which looks somewhat nicer. This example also defines runTest and a > test function (which calls the shell command "echo" to print some > lines) you can try in ghci by typing "runTest test"... > > [1] http://gist.github.com/614246 > Thank you very much Steffen for taking the time out for the exa