let (|Cond|_|) f arg = if f arg then Some () else None;; ... ...or, in general: I view Clojure's cond macro as the equivalent of pattern ...
確定! 回上一頁