This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Names in libguile
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> "Greg J. Badros" <gjb@cs.washington.edu> writes:
>
> > All of these notes should be summarized and stuck in a file in the
> > guile-core module (and updated).
> >
> > One of my pet peeves is that macros ending in P are predicates that
> > evaluate to a C boolean, gh_foo_p()s are predicate functions that also
> > return C booleans, but scm_foo_p()s are primitives that return SCM
> > booleans. There is a funny interaction that I don't like, there. I'm
> > not sure that there's any solid way to fix this since there's already a
> > lot of code that relies on the gh_ interface. The void* patch will help
> > catch these bugs, but the distinction should at least be made very clear
> > up-front in developer docs for Guile if we can't figure out a
> > backward-compatible reasonable solution.
>
> Yes, very good suggestions.
>
> We should have a special devepment directory, maybe
> "guile-core/devel", which is not packed with the distribution.
I think it should be packed with the distribution-- free software is in
part about enabling the users to turn into contributors, so this stuff
is very relevant for any distribution of Guile.
<snip>
Greg B.