These are chat archives for ramda/ramda

21st
Apr 2018
Joshua Rowe
@omnisci3nce
Apr 21 2018 07:10
I'm struggling with wrapping my head around the State monad
I want to have some functions that take a previous state (an object) and return a new state.
I've done this, and then I can do .runWith(initalState)
but I can't figure out how to chain two of these transformations in a row
I'll post some code in a gist in a few mins
but I get TypeError: State.chain: State returning function required