On Thu, 10 Jun 1999, Craig Dickson wrote:
> programming, especially lazy functional programming. If it seems desireable
> to re-implement a standard Unix utility in Haskell, I suggest 'make'. One
> could even design and implement a 'make' that would know all about Haskell
> modules, and parse them to generate dependencies automatically.
$ hmake MyProg
[ Announcement: `hmake' release 1.0, sources now available: ]
[ http://www.cs.york.ac.uk/fp/hmake/ ]
David Tweed writes:
> I think it'd probably better software engineering to split the two tasks.
> Other than a rather nasty syntax, make does what it sets out to do quite
> well: using specified dependencies and time-stamps on files to run
> `compilation-type' processes in an appropriate way. What would, as you
> say, be very nice is a tool which can be run periodically to auto-generate
> these dependencies.
$ gcc -M main.c >>Makefile
$ ghc -M Main.hs >>Makefile
$ hmake -M MyProg >>Makefile
Regards,
Malcolm