Skip to content
View spencerwi's full-sized avatar

Block or report spencerwi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Either.java Either.java Public

    A right-biased implementation of "Either a b" for Java, using Java 8 for mapping/folding and type inference.

    Java 70 13

  2. Optional.js Optional.js Public

    Nullable. Optional. The Maybe monad. Whatever you want to call it, it's for Javascript now.

    JavaScript 6 1

  3. Comparators.js Comparators.js Public

    Java8-style chainable comparators for Javascript.

    JavaScript 17 6

  4. hamcrest-jdk8-time hamcrest-jdk8-time Public

    Hamcrest matchers for Java 8's new java.time classes

    Java 14 3

  5. Cregularity Cregularity Public

    A Crystal port of the Regularity gem

    Crystal

  6. 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