[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] test egg
From: |
Curtis Cooley |
Subject: |
[Chicken-users] test egg |
Date: |
Mon, 31 Oct 2011 20:07:57 -0700 |
I'm trying to get the test egg working, but I'm not getting very far.
I'm using chicken to learn scheme, so I'm really new at all this. I'm
running Linux Mint 11, but I've downloaded and compiled chicken 4.7
because Mint came with 4.2 and I could not even get the test egg to
load. Any help or pointers are much appreciated. I'm trying to take a
TDD pass through SICM.
Here's the output from csi:
#;1> (require-extension test)
; loading /usr/local/lib/chicken/6/test.import.so ...
; loading /usr/local/lib/chicken/6/regex.import.so ...
; loading /usr/local/lib/chicken/6/irregex.import.so ...
; loading /usr/local/lib/chicken/6/extras.import.so ...
; loading /usr/local/lib/chicken/6/test.so ...
; loading /usr/local/lib/chicken/6/regex.so ...
#;2> (test 4 (+ 2 2))
Error: (cdr) bad argument type: #f
Call history:
<syntax> (##core#lambda () 4)
<syntax> (##core#begin 4)
<syntax> (lambda38 () (+ 2 2))
<syntax> (##core#lambda () (+ 2 2))
<syntax> (##core#begin (+ 2 2))
<syntax> (+ 2 2)
<syntax> (cons39 (cons39 (quote40 name41) #f) (quote40
((source42 +
2 2) (source36 + 2 2))))
<syntax> (cons39 (quote40 name41) #f)
<syntax> (quote40 name41)
<syntax> (##core#quote name41)
<syntax> (quote40 ((source42 + 2 2) (source36 + 2 2)))
<syntax> (##core#quote ((source42 + 2 2) (source36 + 2 2)))
<eval> (test-run37 (lambda38 () 4) (lambda38 () (+ 2 2)) (cons39
(cons39 (quote40 name41) #f) (quote40 ((so......
<eval> (cons39 (cons39 (quote40 name41) #f) (quote40 ((source42 + 2
2) (source36 + 2 2))))
<eval> (cons39 (quote40 name41) #f)
<eval> (+ 2 2) <--
--
Curtis Cooley
address@hidden
blog:http://ponderingobjectorienteddesign.blogspot.com
===============
Leadership is a potent combination of strategy and character. But if
you must be without one, be without the strategy.
-- H. Norman Schwarzkopf
- [Chicken-users] test egg,
Curtis Cooley <=