Commit Graph

6 Commits

Author SHA1 Message Date
Aaron Jensen
dcee2038b6
Format code with prettier 2017-04-18 17:55:46 -07:00
Aaron Jensen
b8ca7f5407 Use identity with u.if's false condition
Fixes #35
2015-09-11 11:57:39 -07:00
Aaron Jensen
3ce001a4f6 Replace lodash curry with our own
lodash's curry is great and does a lot, but we don't need it all. This
is quite a bit faster.

Currently, it does away with placeholder support.

updeep curry partial call x 9,951,410 ops/sec ±1.61% (62 runs sampled)
lodash curry partial call x 988,949 ops/sec ±1.36% (62 runs sampled)
2015-08-11 23:58:54 -07:00
Aaron Jensen
ddd5c84d49 Add u.ifElse
Fixes #12
2015-08-05 23:10:16 -07:00
Aaron Jensen
b1e000b06d Freeze objects returned by helper methods 2015-08-05 04:44:14 -07:00
Aaron Jensen
750200df76 Add u.if 2015-08-04 23:57:01 -07:00