client/src/store/index.js
author ymh <ymh.work@gmail.com>
Sat, 06 Jul 2019 01:01:00 +0200
changeset 205 da377e983aa6
parent 168 ea92f4fe783d
permissions -rw-r--r--
Added tag 0.2.2 for changeset 0c78763b5f10

import * as R from 'ramda';

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