Skip to content

Instantly share code, notes, and snippets.

@frenchy64
Created August 5, 2011 12:35
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 frenchy64/1127440 to your computer and use it in GitHub Desktop.
Save frenchy64/1127440 to your computer and use it in GitHub Desktop.
match.core=> (-> (build-matrix [x]
[1] 2
[(a)] 1)
compile
to-clj
source-pprint)
(cond
(sequential? x) (cond
(= x nil) 1
:else (throw
(java.lang.Exception. "Found FailNode")))
(= x 1) 2
:else (throw (java.lang.Exception. "Found FailNode")))
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment