Email or username:

Password:

Forgot your password?
Devine Lu Linvega

(list (amb 1 2 3) (amb 'a 'b))

can have six possible values:

(1 a) (1 b) (2 a) (2 b) (3 a) (3 b)

sarabander.github.io/sicp/html

3 comments
Avi Bryant

@neauoire I love amb. It’s a good gateway drug to probabilistic programming.

WimⓂ️

@neauoire A bit like junctions in Raku:
1|2|3, 'a'|'b'

Go Up