Another sinner saved by Jesus; often failing, but by God's grace, hopefully growing.
- Woodstock, GA
- http://spencerwi.com
- @spencerwi
Pinned Loading
-
Either.java
Either.java PublicA right-biased implementation of "Either a b" for Java, using Java 8 for mapping/folding and type inference.
-
Optional.js
Optional.js PublicNullable. Optional. The Maybe monad. Whatever you want to call it, it's for Javascript now.
-
Comparators.js
Comparators.js PublicJava8-style chainable comparators for Javascript.
-
hamcrest-jdk8-time
hamcrest-jdk8-time PublicHamcrest matchers for Java 8's new java.time classes
-
-
Any place I have first-class functio...
Any place I have first-class functions and recursion, I can build foldLeft (reduce), with which I can build map and filter. 1(defn fold_ [f initial [head & the-rest :as arr]]
2(cond
3(empty? arr) initial
4:else (recur f (f initial head) the-rest)))
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.