(path)
| 92 | const getCurriedRequestProcessor = flow([ensureRequestArg2, curry]); |
| 93 | |
| 94 | function getPropSetFunction(path) { |
| 95 | return getCurriedRequestProcessor((val, req) => req.setIn(path, val)); |
| 96 | } |
| 97 | |
| 98 | function getPropMergeFunction(path) { |
| 99 | return getCurriedRequestProcessor((obj, req) => req.updateIn(path, (p = Map()) => p.merge(obj))); |