> Add to this that the `Main' module must reside in a `Main' file and
> you have an unfortunate consequence that you can only have one `Main'
> function in each directory.
That's not so. Haskell doesn't say anything about what files
modules have to reside in. Some implementation may have the
restriction, but others don't. Hbc allows you to put the Main
module in any file, so you can easily have many programs per directory.
-- Lennart
Re: Plea for Change #1: Why, O why, `Main'?
Lennart Augustsson Mon, 29 Mar 1999 21:01:04 +0200 (MET DST)
- Plea for Change #1: Why, O why, `Main'? Tommy Thorn
- Re: Plea for Change #1: Why, O why, `Main'? Lennart Augustsson
- Re: Plea for Change #1: Why, O why, `Main'? Joe Fasel
- RE: Plea for Change #1: Why, O why, `Main'? Simon Marlow
- RE: Plea for Change #1: Why, O why, `Main'? Simon Peyton-Jones
- Re: Plea for Change #1: Why, O why, `Main'? Hannah Schroeter
