ClojureDocs

导航

名称空间

or*

  • (or* goals)
A function version of conde, which takes a list of goals and tries them as if via conde.
 Note that or* only does disjunction, ie (or* [a b c]) is the same as (conde [a] [b] [c]).
 If you need something like (conde [a b] [c]), you can use and*, or all:
 (or* [(and* a b) c]).