Last active
June 7, 2017 08:08
-
-
Save hesher/920766404fd1517890e0ab2b98bd1cef to your computer and use it in GitHub Desktop.
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 withSiteName = set(lensProp('name')); | |
const withDomain = set(lensProp('domain')); | |
const site = pipe(withSiteName('a Site'), withDomain('domain')); | |
site({}); // site is the function that returns the value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment