Created
January 28, 2016 11:36
-
-
Save JoeStanton/37bc456746d3d71a5ef7 to your computer and use it in GitHub Desktop.
Nice ES7 pipeline syntax
This file contains hidden or 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
import {map, unique, sort} from "prelude-ls" | |
types | |
::map(v => v[type]) | |
::unique | |
::sort | |
::map(toOption); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment