[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH][5] Make the "-module" option take the modu

From: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH][5] Make the "-module" option take the module name as an argument
Date: Fri, 30 Oct 2015 08:18:15 +1300

On 2015-10-29 20:06, Peter Bex wrote:
> On one hand, I don't really like the fact that we're renaming the
> existing option.  We could just drop support for the implicit
> "main" or keep the old name and use a different name for the new one.

Yeah, I very nearly omitted the -main-module option, too. It's pretty
silly and I'd be happy to see it go.

> This is a bit of a niche option, isn't it?  I don't really see the use
> of it: nothing gets exported anyway, so why should the name of the
> module matter?  Besides, wrapping something in a module isn't really
> that useful, except maybe to catch errors.

I'd also like to switch the default behaviour to export everything, but
haven't gotten to testing that out yet. That way it's still useful as a
"program wrapper" (since you won't be using those exports anyway), but
also useful when compiling many different files together.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]