Derick Eddington
2009-03-17 23:08:19 UTC
Larceny v0.97a4 (alpha test) (Mar 17 2009 11:29:20, precise:Linux:unified)
larceny.heap, built on Tue Mar 17 11:33:15 PDT 2009
ERR5RS mode (no libraries have been imported)
(assertion-violation 'f "not a number" x))
(- x))
Compound condition has these components:
#<record &assertion>
#<record &who>
who : f
#<record &message>
message : "not a number"
#<record &irritants>
irritants : (1)
Entering debugger; type "?" for help.
debug> q
Entering debugger; type "?" for help.
debug>
larceny.heap, built on Tue Mar 17 11:33:15 PDT 2009
ERR5RS mode (no libraries have been imported)
(import (rnrs base))
(define (f x)
(unless (number? x)(define (f x)
(assertion-violation 'f "not a number" x))
(- x))
(f 1)
Error: unhandled condition:Compound condition has these components:
#<record &assertion>
#<record &who>
who : f
#<record &message>
message : "not a number"
#<record &irritants>
irritants : (1)
Entering debugger; type "?" for help.
debug> q
(number? 1)
#t(unless (number? 1) 'blah)
Error: Undefined global variable "unless".Entering debugger; type "?" for help.
debug>
--
: Derick
----------------------------------------------------------------
: Derick
----------------------------------------------------------------