Racket amb-<;未定义运算符

Racket amb-<;未定义运算符,racket,Racket,我在演讲幻灯片上看到了这一点 > (+ 10 (-< 1 2 3)) 11 > (next) 12 > (next) 13 > (next) 'done >(+10(-(下) 12 >(下) 13 >(下) ”“好的 但当我在DrRacket中尝试时,它出现了一个错误 > (+ 10 (-< 1 2 3)) . . -<: undefined; cannot reference an identifier before its definit

我在演讲幻灯片上看到了这一点

> (+ 10 (-< 1 2 3))
11
> (next)
12
> (next)
13
> (next)
'done
>(+10(-<123))
11
>(下)
12
>(下)
13
>(下)
”“好的
但当我在DrRacket中尝试时,它出现了一个错误

> (+ 10 (-< 1 2 3))
. . -<: undefined;
 cannot reference an identifier before its definition
> 
>(+10(-<123))
. . - 

幻灯片上没有显示任何要求。我也用谷歌“racket-根据您发布的幻灯片链接,似乎
-我想您必须告诉我们谁的讲座:)。看起来您的讲师使用的amb操作员使用continuations创建了一个可重入生成器,但要告诉您更多信息,您必须向我们提供更多详细信息。换言之:实现您所描述的东西并不难,但实际上,它不是标准内置库的一部分。对不起,我没有看到您的评论。这是演讲幻灯片。