foop
Version:
interfaces that describe their intentions.
101 lines (71 loc) • 2.15 kB
Markdown
------
!!!!!!!!
CAN CURRY METHODS LIKE .SET !!!!!!
!!!!!!!!
-----
use a bind method to avoid a real `.bind`
...callReturns is `pipe`???
----
https://github.com/lodash/lodash/blob/master/tail.js
^ all but first
https://github.com/lodash/lodash/commit/ffcb38f74d6efab412d7dbad5d016366d18c2017
^ remove isFunc o.o
this is in lense/...
https://github.com/lodash/lodash/blob/master/over.js
https://github.com/lodash/lodash/blob/master/isTypedArray.js
https://github.com/lodash/lodash/blob/master/isElement.js
https://github.com/lodash/lodash/blob/master/invokeMap.js
Invokes the method at `path` of each element in `collection`
https://github.com/lodash/lodash/commit/5f2a03076dd1f391f419c1f910787b92dab4a74b
^ lodash `new Array`
- array utils
- fn utils
- obj utils
- dot
- regex/match
- validate
http://underscorejs.org/test/
https://github.com/jashkenas/underscore/blob/master/underscore.js#L714
- range (probably no)
# already partially done in modules
- values matching
https://github.com/jashkenas/underscore/blob/master/underscore.js#L1094
- keys matching
- any keys Plus (map & set)
https://github.com/jashkenas/underscore/blob/master/underscore.js#L328
- find
# and...
# COLLECTIONS!!!
- forEach https://github.com/jashkenas/underscore/blob/master/underscore.js#L170
http://ramdajs.com/docs/#defaultTo
EMPTY() FORGOT STRING ''
http://ramdajs.com/docs/#toPairs
https://github.com/jashkenas/underscore/blob/master/underscore.js#L323
#where
https://github.com/jashkenas/underscore/blob/master/underscore.js#L1020
#mapObject
// str & arr
endsWith
startsWith
# SO
- [ ] add a mini wrapper to some native functions
- [ ] safe split, trim, hasProperty, etc
- [ ] update `to/` in exports
- [ ] flipped folder for funcs with flipped first2 or so args
- [x] methodChain pooled
- [ ] fix methodChain results of pooling
- [x] move define to util
- [ ] more map utils for obj,
- [ ] invertObj
- [ ] publish version with exported
- [ ] memoize, debounce, throttle,
- [ ] transform
- [ ] `over`
- [ ] ^ allow easy use of each in a chain instance
- [ ] start using it with some more state goodness in mobx