Skip to content

Instantly share code, notes, and snippets.

@gfredericks
Created January 12, 2011 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gfredericks/776209 to your computer and use it in GitHub Desktop.
Save gfredericks/776209 to your computer and use it in GitHub Desktop.
Replacing my bad logic with arrow syntax
; Had this
(let [g (nf.graph6/graph6-to-set (:graph6 rec)),
unfairness (nf.graphs/unfairness g)]
...)
; and replaced with this
(let [unfairness (-> rec
:graph6
nf.graph6/graph6-to-set
nf.graphs/unfairness)]
...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment