【发布时间】:2019-05-15 20:35:12
【问题描述】:
类似的东西:
(or->
"foobar"
(clojure.string/starts-with? "foo")
(clojure.string/starts-with? "bar"))
=> true
如果不是,用多个 ors/ands 执行测试的惯用方法是什么?
【问题讨论】:
-
我不清楚您是否只需要测试或一些线程功能。看看 cond-> 和 cond->>。
标签: clojure