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

Re: [plt-scheme] defining macros in mzscheme 103




1. Please update to 200. 

2. If you want to use old-fahsioned macros, use the macro library
   (see HelpDesk). 

-- Matthias



At Tue, 28 May 2002 05:17:33 -0400 (EDT), Deva Seetharam wrote:
> hi all
> i am trying to define a macro like this
> (define-macro (new-core) `(make-vector 4 0))
> 	
> when i run this in mzscheme within emacs, it gives me
> the following error message:
> "define-macro: not an identifier at: (new-core) in (define-macro 
> (new-core) (quasiquote ...)"
> 
> what is wrong?
> 
> thanks,
> Deva Seetharam
> 
> -------------------------------------------------
> 617.666.6674 (h)
> 617.253.1522 (w)
> 
> E15-426,
> MIT Media Laboratory,
> 20 Ames Street,
> Cambridge, MA 02139
> -------------------------------------------------