Skip to content

Instantly share code, notes, and snippets.

@6ewis

6ewis/main.clj Secret

Created April 4, 2016 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 6ewis/ce8f86f31cf3f00845965a4e888f7331 to your computer and use it in GitHub Desktop.
Save 6ewis/ce8f86f31cf3f00845965a4e888f7331 to your computer and use it in GitHub Desktop.
post? source code what?
(defn pos?
"Returns true if num is greater than zero, else false"
{
:inline (fn [x] `(. clojure.lang.Numbers (isPos ~x)))
:added "1.0"}
[x] (. clojure.lang.Numbers (isPos x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment