chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Add initial version of (chicken base)


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] Add initial version of (chicken base)
Date: Tue, 12 Sep 2017 10:51:56 +0200

> - notice (we already had "warning" and "error", however, notice seems
>           to be used mostly in the compiler)

Does this need to be exposed? I'm not sure how useful this is for user
code.

> - use
> - require-library
> - require-extension
> - quotient&{remainder,modulo}
>
> I'm not 100% sure about require-library, require-extension and use,
> especially given that import is in (chicken module).

Hm... I thought we try to get rid of all these alternative loading forms?

> I think by default the entire scheme and (chicken base) modules should
> be available at the regular and meta toplevels.

Sounds good to me.

>
> I'm less certain what we should add to the non-macro toplevel default
> Perhaps (chicken type), (chicken fixnum), (chicken flonum) and
> (chicken foreign) [the latter for compiled code], but we could also
> keep it otherwise empty, or even add everything from library.scm, much
> like we do today in CHICKEN 4.  This would make it easier for scripts,
> but perhaps a bit more confusing for beginners ("what do you mean,
> sometimes I have to import and sometimes it's already there?!!")

Does this apply to interpreted or compiled code? My assumption was
that only the base stuff is initially visible.


felix





reply via email to

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