Created
June 2, 2020 19:34
-
-
Save eraserhd/3bc5dbfae8cb50f6bfc2699f7724c14b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(2 1) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
*** ERROR IN #<procedure #6> -- amb: [amb-completion] amb exhausted | |
1> ,t | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(1 2) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(1 2) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(2 1) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(2 1) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(1 2) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(2 1) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
(1 2) | |
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x))) | |
*** ERROR IN #<procedure #7> -- amb: [amb-completion] amb exhausted | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment