Created
January 12, 2011 14:23
-
-
Save gfredericks/776209 to your computer and use it in GitHub Desktop.
Replacing my bad logic with arrow syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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