Re: "defined?" wants to be an `acro' (and not a macro)

Aubrey Jaffer (jaffer@martigny.ai.mit.edu)
Wed, 6 Nov 1996 11:04:09 -0500 (EST)

From: Marius Vollmer <mvo@zagadka.ping.de>
Date: 05 Nov 1996 20:39:10 +0100

I think the builtin macro/syntax "defined?" (defined in eval.c)
should be an `acro' and not a macro as it currently is.

A quick fix that would make me happy is:

*** libguile.orig/eval.c Mon Nov 4 22:15:09 1996
--- libguile/eval.c Mon Nov 4 23:39:59 1996
***************
*** 2924,2930 ****
scm_i_atcall_cc = scm_make_synt ("@call-with-current-continuation",
scm_makmmacro, scm_m_cont);

! scm_make_synt ("defined?", scm_makmmacro, scm_definedp);

#ifdef DEBUG_EXTENSIONS
scm_i_enter_frame = SCM_CAR (scm_sysintern ("enter-frame", SCM_UNDEFINED));
--- 2924,2930 ----
scm_i_atcall_cc = scm_make_synt ("@call-with-current-continuation",
scm_makmmacro, scm_m_cont);

! scm_make_synt ("defined?", scm_makacro, scm_definedp);

#ifdef DEBUG_EXTENSIONS
scm_i_enter_frame = SCM_CAR (scm_sysintern ("enter-frame", SCM_UNDEFINED));

This is the case in the development version of SCM:
ftp-swiss.ai.mit.edu:pub/users/jaffer/scm.zip