[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
possibly a bug
From: |
Simon Weijgers |
Subject: |
possibly a bug |
Date: |
Sun, 26 Aug 2001 09:55:54 +0200 |
User-agent: |
Mutt/1.2.5i |
Hi,
While I was in senseless tinkering mode I ran into what could potentially be
a bug:
guile> (define a 5)
guile> (define b (lambda () a))
guile> a
5
guile> (b)
5
guile> (undefine a)
guile> a
<unnamed port>: In expression a:
<unnamed port>: Unbound variable: a
ABORT: (unbound-variable)
Type "(backtrace)" to get more information or "(debug)" to enter the
debugger.
guile> (b)
-> ERROR: Wrong number of arguments to #<procedure -print (result)>
-> ABORT: (wrong-number-of-args)
guile>
I'd expect to get an error similar to this one:
guile> (define c (lambda () d))
guile> (c)
<unnamed port>:9:1: In procedure c in expression (c):
<unnamed port>:9:1: Unbound variable: d
ABORT: (unbound-variable)
guile>
Regards,
Simon Weijgers
- possibly a bug,
Simon Weijgers <=