[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Macros and GCs
- To: firstname.lastname@example.org (Macintosh Allegro Common Lisp)
- Subject: Macros and GCs
- From: email@example.com (Guillaume Cartier)
- Date: Tue, 12 Mar 91 13:07:09 EST
It's a shame I was on vacation during such an active
discusion period (well, I suppose 10 days of Florida sunshine
can make up for that...).
A small point about macros:
I think that generally, macros should not implement any code.
They should only implement nice syntax.
Common Lisp is a good teacher in this respect:
You have the OPEN function which implements the full functionality
and you have the WITH-OPEN-FILE which simplifies the task of
using this functionality.
If you always think this way it will probably simplifies the coding
of your macros and you will always have the full functionality
available when you need a function (i.e. MAPCAR).
I would like to support the proposition to include in MCL 2.0
some sort of mecanism to do the GCs during idle time (thats a great
advantage of the event driven Mac philosophy).
LACIM, Universite du Quebec a Montreal.