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: hook? primitive


From: Greg Badros <gjb@cs.washington.edu>

>Keith Wright <kwright@tiac.net> writes:
>
>> > From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
>> >
>> > But are all of these really necessary?  I think we should be a bit
>> > careful with adding new primitives.
>>
>> [...] Couldn't the whole thing be written in Scheme instead of C?
>
>It's much nicer to have it in C if you want C procedures to be using the
>hooks (e.g., running hooks on a window mapping event).


That's an argument that could be used in future to support all sorts of
not-very-primitive primitives.  If the problem is that it is difficult to
call Scheme from C, the right fix is to make it easier to call Scheme from
C.



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