Hacker GitHub

← All repos

Engelberg/better-cond

View on GitHub ↗ ★ 302 Clojure

A version of cond that supports :let clauses, and a number of other conveniences.

4 mentions on Hacker News by 3 people: 2 stories, 2 comments · first 2017-03-31 · latest 2025-10-20

Mentions per year 4 mentions · busiest year 2021 (2)
20082026
  1. This looks great, I'm still learning Janet and couldn't write it myself. I only know about: https://github.com/Engelberg/better-cond in clojure which is different it adds syntax enhancement + control flow convenience. Similar better-cond…
    comment by codery · 2025-10-20 · in When if is just a function
  2. There is a neat macro I've been using to solve problems like the nested if-lets in the post: https://github.com/Engelberg/better-cond (b/cond :let [x (foo)] (not x) (do (log "foo failed") false) :let [y (bar x)] (not y) (do (log "bar…
    comment by ryuuseijin · 2017-03-31 · in Fourteen Months with Clojure