> I checked out the video - nice - but I think, understandably, since
> its not open source yet, not much of implementations details were
> mentioned.

Yes, it's unfortunate.

> 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.

If it helps, written in Shake, this would be:

main = do
  want ["file1"]
  "file1" *> \x -> do
    need ["file2"]
    putStrLn "Hello"
    putStrLn "World"

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

Reply via email to