funny-sort
v1.0.2
Published
Simple modules for functional programming, done for fun.
Downloads
1
Readme
sort
Simple modules for functional programming, done for fun.
Usage
import sort from 'funny-sort'
const comparator = (a, b) => a - b
sort(comparator, [3, 2, 1]) // [1, 2, 3]
License
The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.