clojure-sg

http://www.meetup.com/Singapore-Clojure-Meetup/
jdevuyst 2015-06-25T00:42:52.000149Z

@spinningarrow: It's equivalent to (fn [x _] (if true x)), if that helps. So with 'booleans' from lambda calculus you don't need if-statements because the 'booleans' are functions already.

jdevuyst 2015-06-25T00:46:22.000151Z

So rather than writing (if a x y), you would just write (a x y).

spinningarrow 2015-06-25T02:25:16.000152Z

Thanks @jdevuyst! Following up on that, how does one write a function that returns a Boolean value, like a predicate?