(path)
| 122 | const getCurriedRequestProcessor = flow([ensureRequestArg2, curry]); |
| 123 | |
| 124 | function getPropSetFunction(path) { |
| 125 | return getCurriedRequestProcessor((val, req) => req.setIn(path, val)); |
| 126 | } |
| 127 | |
| 128 | function getPropMergeFunction(path) { |
| 129 | return getCurriedRequestProcessor((obj, req) => req.updateIn(path, (p = Map()) => p.merge(obj))); |