[Prev][Next][Index][Thread]

Re: Students/techniques



In article <8hmpoi$15n$1@agate.berkeley.edu>, ejr@lotus.CS.Berkeley.EDU 
(Edward Jason Riedy) wrote:

> I know more of Scheme macros than of Dylan macros, so this may
> be trivial:  Can the Dylan macro system access any type 
> information?  In other words, can a macro expand different ways 
> depending on how much type information is known during compilation?

No, but it can expand into a generic function call which can be inlined 
if the types are known at compile time, and go to a generic 
implementation if not.

-- Bruce



References: