client/src/store/index.js
author ymh <ymh.work@gmail.com>
Sat, 24 Nov 2018 09:31:16 +0100
changeset 175 6fcda59daff8
parent 168 ea92f4fe783d
permissions -rw-r--r--
Correct requirements

import * as R from 'ramda';

export const Record = defaultValue => R.compose(R.merge(defaultValue), R.pick(R.keys(defaultValue)));