On Wed, 2008-09-10 at 16:57 -0500, John Goerzen wrote: > Whoa, that is sneaky and clever. But it will fail the minute you try > to run this on a compiled program, because then getProgName will give > you the binary executable.
Sooooo, I won't do that. In addition to getProgName getting the binary, the compiler would have thrown away the comments. The point is that this is a convenient way to write simple scripts. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
