npm.io
2.0.0 • Published 6 years ago

fp-ts-group

Licence
MIT
Version
2.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

fp-ts group and groupBy

import {groupBy} from 'fp-ts-group'

assert.deepStrictEqual(groupBy(eqNumber)([1, 1, 2, 3, 3, 4]), [[1, 1], [2], [3, 3], [4]])