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: CLOS-style MOP for Guile ?


>>>>> "Michael" == Michael N Livshin <mike@olan.com> writes:

Michael> I understand that Tiny-CLOS's (and STk's) generics don't take any
Michael> module system into account, and so using them sorta defeats the
Michael> module system.

This is from memory, so it may not be quite accurate, but Bernard
Urbans port of tiny-clos (which can be found at red-bean) does in fact
sort of use modules.

The `define-generic' macro expands into a `define-public' rather than
just a `define'.

I do not know enough about the module system to say what the precise
implication of this is, but it most likely do not implement the full
module awareness as you define it.


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrik 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.telebit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)