Created
June 13, 2018 16:29
-
-
Save syzer/67420c40f1425fc51e3d9ae38bd991a3 to your computer and use it in GitHub Desktop.
When you wanna do replace but you are `point-free`
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
const a = 'yello world' | |
const upperFirst = pipe( | |
juxt([pipe(head, toUpper), tail]), | |
join('')) | |
upperFirst(a) | |
// => 'Yello world' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment