On Mon, 5 Dec 2005, Sunnan wrote:

#;31> (define rec itrec)
#;32> ((rec zero? 1 * sub1) 6)
Error: during expansion of (letrec ...) - (letrec) unexpected object:
[...]

Hello,

I would say this is expected behaviour, because rec is bound in macro transformer space -- see http://srfi.schemers.org/srfi-31/srfi-31.html for a description of what it does.

If you absolutely must use rec as a name for something different, try unbinding the macro using
  (undefine-macro! 'rec)

cu,
Thomas


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to