Skip to content

Instantly share code, notes, and snippets.

@DrBoolean
Created January 21, 2016 17:22
Show Gist options
  • Select an option

  • Save DrBoolean/209587989dbde20681ab to your computer and use it in GitHub Desktop.

Select an option

Save DrBoolean/209587989dbde20681ab to your computer and use it in GitHub Desktop.
Lens6.1
const allStreets = compose(addresses, mapped, street)
// renderProfile :: User -> Html
const renderProfile = compose(map(profilePage), over(compose(mapped, allStreets), fixAddress), getUser)
renderProfile(1).fork(console.log, console.log)
[ '<span>**** Walnut Dr.<span>', '<span>**** Crane Way<span>' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment