A year ago I wondered how to best express this pattern: (let x (...)
(when (f x)
..))
(http://www.arclanguage.org/item?id=16070)Current solution: (whenlet x (...) :satisfies f
..)
Thoughts?Implementation: https://github.com/akkartik/wart/commit/48336c2ca2 |