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

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to