26 Commits
Author SHA1 Message Date
Mariusz Nowak 17e5be7137 fix: Support ES2015+ function definitions in function#toStringTokens()
Additionally revert from problematic regex based implementation. Addresses #021
2024-02-21 16:33:49 +01:00
Mariusz Nowak 64b4711b37 fix: Ensure Function.isFunction recognizes async functions 2019-08-30 14:46:06 +02:00
Mariusz Nowak 7e6bb9724d test: Fix after prettification changes 2019-06-14 11:31:10 +02:00
Mariusz Nowak af2657ec5d style: Prettify 2019-06-14 11:26:34 +02:00
Mariusz Nowak 119d4d2820 feat: allow plain function usage of fn.compose 2019-03-11 13:26:11 +01:00
Mariusz Nowak 69ac1f8c30 style: prettier 2019-03-11 13:24:41 +01:00
Mariusz Nowak b0dfd174b0 feat: Add function.microtaskDelay method 2018-03-16 15:28:28 +01:00
Mariusz Nowak 53234d3bff style: upgrade lint settings 2017-09-06 12:57:19 +02:00
Mariusz Nowak 6954315277 refactor: update to new lint rules 2017-07-10 17:37:46 +02:00
Mariusz Nowak d62403a304 refactor: fix tests after linter change 2017-07-10 14:09:12 +02:00
Mariusz Nowak cc74464f3f refactor: update to new lint rules 2017-07-10 14:05:08 +02:00
Mariusz Nowak ad3de1ef89 feat: support arrow functions in Function/#/to-tring-tokens.js 2017-05-22 14:28:05 +02:00
Mariusz Nowak c84f96281a Add Function#toStringTokens 2015-01-08 15:07:51 +01:00
Mariusz Nowak 26ca91a041 Rename Function.k to Function.constant 2014-02-12 16:23:41 +01:00
Mariusz Nowak 2822e56988 Rename Function.i to Function.identity 2014-02-12 15:08:35 +01:00
Mariusz Nowak f9bc92d21c Remove Function#wrap 2013-10-09 16:40:25 +02:00
Mariusz Nowak cd59a360de Remove Function#silent 2013-10-09 16:22:13 +02:00
Mariusz Nowak d0fa104d0e Rename Function#match to Function#spread 2013-10-09 16:00:12 +02:00
Mariusz Nowak 74fe9877ff Assure correct length in Function#curry results 2013-10-09 15:53:32 +02:00
Mariusz Nowak 8a53306b10 Improve Function#copy 2013-10-09 15:35:27 +02:00
Mariusz Nowak 35c7c8b023 Function with preset length generator 2013-10-09 14:54:31 +02:00
Mariusz Nowak 8a130cc720 Rename Function#chain to Function#compose.
Reverse order in which functions are invoked
2013-10-09 14:03:00 +02:00
Mariusz Nowak fb51fe799a Remove Function.remove 2013-10-09 13:31:25 +02:00
Mariusz Nowak d84a884f13 Remove Function.insert 2013-10-09 13:25:22 +02:00
Mariusz Nowak 4219c23a74 Reorganize Array.from to follow ECMASCript6 spec
- Array.from always returns copy of input array
- Array.from implements optional mapping functionality
- Array.toArray was introduced as alternative that does not produce copy of an array if it's not needed
- Array#copy was removed, as same now can be achived by Array.from

Array.from doesn't follow ES6 spec in full:
- It doesn't support iterators (which are non existent and cannot be fully shimmed in ES5)
- It doesn't produce array subclasses if it's called in context of such constructors. Array subclasses are not possible in plain ES5 (note: still in many implementations they can be produced with help of `__proto__`, so this part may be subject to changes)
2013-10-01 13:57:59 +02:00
Mariusz Nowak d71409335e cont. change filename convention 2013-08-27 20:36:10 +02:00