Thanks Neil,

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

What if I want to mention "file1" only once?

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

Reply via email to