Hacker News new | past | comments | ask | show | jobs | submit login

> ;;=> returns x if x is nil, else 5

Should this be:

> ;;=> returns x if x is not nil, else 5




Corrected, thanks! (It was correct in the beginning but then I decided I need to improve it)

=> https://en.wiktionary.org/wiki/verschlimmbessern


`false` is not nil but `(let [x false] (or x 5))` evaluates to 5 ;)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: