[Haskell-cafe] Re: EDSL for Makefile

steffen steffen.siering at googlemail.com
Sun Oct 3 07:52:02 EDT 2010


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.

On Oct 3, 6:14 am, C K Kashyap <ckkash... at gmail.com> wrote:
> > Thanks Emil ... yeah, that works...I was wondering what I could do to
> > not have to mention "r1" explicitly.
> > I'll check out Neil's pdf and video now - perhaps I'll find answers there.
>
> I checked out the video - nice - but I think, understandably, since
> its not open source yet, not much of implementations details were
> mentioned.
>
> So, I have this "unanswered question" nagging in my head. In the
> example below, how can I let the makefile writer refer to the target
> name and dependencies. Likr Emil mentioned, I could use "target r1"
> but I want to avoid having to mention r1.
>
> http://hpaste.org/40233/haskell_makefile_edsl
>
> --
> Regards,
> Kashyap
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list