This is the mail archive of the guile@sourceware.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: Creating hooks from C


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Actually, it is:  scm_make_hook does exactly this.  Following your
> argument that minimizing the number of entries into libguile is also an
> important goal, removing scm_create_hook is also a step in the right
> direction :-)  Moreover, the proposed full separation of object creation
> and binding would also reduce that number of entries:  A very small
> number of binding functions that handle the environment and module stuff
> and work on any kind of object, plus the object creation functions for
> each type.  All kinds of 'mixture' functions can be removed.

I like this.  Combination of primitive functions is often better than
a collection of complex functions.  For convenience, we can provide a
set of good macros, and one can create as many additional macros as
one likes...

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