[plt-scheme] Inlining & Modules

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Sep 10 10:16:19 EDT 2002

Argh, that's how macro abuses start and never end. Don't!!!!!
You will invariably want to use the function with map (and 
friends) and then barf because it won't work. 

Use macros for abstracting over syntax. Not more, not less. 

-- Matthias

At Mon, 2 Sep 2002 19:19:19 -0600 (MDT), Matthew Flatt wrote:
>   For list-related administrative tasks:
>     http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> At Mon, 2 Sep 2002 09:46:54 -0400, Brian Campbell wrote:
> > If I have two modules, where one has a loop that calls a small, 
> > leaf function that's defined in the other, will the leaf 
> > function be inlined if I compile each separately with mzc -e?
> No, not currently.
> > If not, is there some way to force it to be inlined?
> You can define a macro instead of a procedure. (Arguably an abuse of
> macros, but it will get you around the compiler's limitations for now.)
> Matthew

Posted on the users mailing list.