[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Misplaced syntactic keyword defvar
From: |
Bill Schottstaedt |
Subject: |
Misplaced syntactic keyword defvar |
Date: |
Wed, 19 May 2004 09:07:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308 |
In the current CVS Guile:
/home/bil/cl/ ../test/bin/guile
guile> (define defvar #f)
guile> (set! defvar define)
guile> (set! defvar define)
Backtrace:
In standard input:
3: 0* (set! defvar define)
standard input:3:1: In procedure memoization in expression (set! defvar define):
standard input:3:1: Misplaced syntactic keyword defvar.
ABORT: (syntax-error)
guile>
Even shorter, though I'm not sure this is legal:
guile> (set! define define)
Backtrace:
In standard input:
1: 0* (set! define define)
standard input:1:1: In procedure memoization in expression (set! define define):
standard input:1:1: Misplaced syntactic keyword define.
ABORT: (syntax-error)
(The first example is abstracted from a larger context where I'm using
the same code in both Scheme and Common Lisp).
- Misplaced syntactic keyword defvar,
Bill Schottstaedt <=