This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: First-class environment proposal


On Wed, 10 Mar 1999, Jim Blandy wrote:

>    When there is a C function which provides the same functionality as a
> primitive, but with a different interface tailored for C's needs, it
> usually has the same name as the primitive's C function, with the suffix
> `_internal'.  Thus, `scm_env_ref_internal' is almost identical to
> `scm_env_ref', except that it indicates an unbound variable in a manner
> friendlier to C code.

Sorry for nitpicking, but I doubt that 'internal' is a good choice.  I may
be wrong, but to my knowledge internal is typically used to indicate
functions that only belong to the implementation and not to the interface. 
I would feel uncomfortable to call 'internal' functions from a library.

Maybe it's possible to find a good alternative suffix?  

Best regards,
Dirk Herrmann