chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] -block not properly mixing with -strict-types


From: Felix
Subject: Re: [Chicken-hackers] -block not properly mixing with -strict-types
Date: Thu, 11 Apr 2013 18:07:20 +0200 (CEST)

> 
> Hm.  This means that there is only one compilation unit ever?

If you want to compile in block mode, yes.

> 
> I've got 82 modules for a single program.  Would I have to merge
> them all into a single file if I want -block to take effect?

That's correct.

> 
> Well, this would still not cut it.  I'd still need a way to
> (however complicated) to make some bindings visible (read only
> that is) from eval.
> 
> So block it not for me?

I think not. You can selectively apply block mode to single toplevel
bindings with "(declare (hide IDENTIFIER ...))", but in the end you
are better off using the module system, which makes this automatic
(for unexported bindings).


cheers,
felix



reply via email to

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