chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] amb egg bug/confusion


From: Alan Post
Subject: [Chicken-users] amb egg bug/confusion
Date: Wed, 14 Mar 2012 18:23:15 -0600

I'm confused by the following behavior in the amb egg:

  (require-extension extras amb)

  (pretty-print (amb-collect (amb 0 1 2)))
  (pretty-print (let ((s (amb 0 1 2))) (amb-collect s)))
  (exit)

produces:

  (0 1 2)
  (0)

I would expect both forms to produce (0 1 2).

What am I missing?  I'm trying to do something more complicated than
the above, but this was the test case I was able to produce.

-Alan
-- 
.i ma'a lo bradi cu penmi gi'e du



reply via email to

[Prev in Thread] Current Thread [Next in Thread]