Hacker News new | ask | show | jobs
by mikekchar 2552 days ago
This is actually nice because in some languages a case statement is a statement and not an expression -- so you can't assign the value easily. +1, would use this in production code :-)
1 comments

And when conditions are not direct don't forget to add Lisp level of parentheses. I bet one time you will forget and everything will explode.