|
From: | Kon Lovett |
Subject: | Re: [chicken-users] something fishy with use of (every) in (match) expressions |
Date: | Thu, 13 Mar 2008 18:12:00 -0700 |
On Mar 13, 2008, at 2:58 PM, Leonardo Valeri Manera wrote:
Try this in a fresh csi session (I'm running trunk): #;1> (use match)#;2> (match '("a" "b" "c") ((and args (or #f ((? atom? _) ...))) (print args)))What I get is: Error: unbound variable: every Call history: <syntax> (##sys#match-error g1) <syntax> (lambda (args) (print args)) <syntax> [g5] (begin (print args)) <syntax> [g5] (print args) <syntax> (quote ("a" "b" "c")) <eval> (equal? g1 #f) <eval> (list? g1) <eval> (every atom? g1) <--Elf tells me every is locally defined in match. Something ain't right! :D
You are correct sir. A fix is in the chicken/trunk but a release will take awhile.
Sorry you had to be the one to find the problem.
Cheers, Leo _______________________________________________ Chicken-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users
Best Wishes, Kon
[Prev in Thread] | Current Thread | [Next in Thread] |