Kacper Donat
ab3034e2be
release 1.0.1
2026-10-28 10:05:43 +01:00
Kacper Donat
4ad971b431
document enum ordering of native sorts
2026-10-28 10:05:33 +01:00
Kacper Donat
b2550cf80b
pass by-value only to native filter paths
2026-10-28 10:05:33 +01:00
Kacper Donat
d013a84f90
avoid by-reference warnings in filter
2026-10-28 09:56:11 +01:00
Kacper Donat
71e1b2cbdc
keep currying when compiling curried closures
2026-10-28 09:56:11 +01:00
Kacper Donat
a4a51e32a1
sort natively in sortBy and sort
2026-10-28 09:56:11 +01:00
Kacper Donat
dc1b684978
release 1.0.0
2026-10-27 23:13:07 +01:00
Kacper Donat
e5e28fd8a5
add license and export-ignore development files
2026-10-27 23:12:18 +01:00
Kacper Donat
c27e326d59
document callback adaptation, errors and min/max ties
2026-10-27 23:12:05 +01:00
Kacper Donat
db3aab644e
specialize compiled partials with one placeholder
2026-10-27 23:10:08 +01:00
Kacper Donat
04dfb21916
compile one-argument pipelines and predicates without spreading
2026-10-27 23:09:23 +01:00
Kacper Donat
f3f05fd00c
add native fast paths for eager transforms
...
Arrays and php-ds collections are transformed directly instead of through the lazy generators. merge() into an array now rejects keys that can't be array keys with a clear error, like toArray().
2026-10-27 23:08:34 +01:00
Kacper Donat
4fe9da0167
pass only carry and value to two-parameter reducers
2026-10-27 23:04:39 +01:00
Kacper Donat
d4f1130077
adapt callbacks by target arity
2026-10-27 23:04:09 +01:00
Kacper Donat
0c91360368
compile predicates and pipelines
2026-10-27 23:02:34 +01:00
Kacper Donat
eac27c9e63
move applyWithArity to internal namespace
2026-10-27 23:00:38 +01:00
Kacper Donat
a09e6840d4
fix closure for static method array callables
2026-10-27 23:00:21 +01:00
Kacper Donat
28408baa64
clean up static analysis baseline
2026-10-27 22:59:30 +01:00
Kacper Donat
978a49091f
fix negated predicate decorated callable
2026-10-27 22:59:06 +01:00
Kacper Donat
61f934ffd7
type accessors for static analysis
2026-10-27 22:44:36 +01:00
Kacper Donat
b20ef22cfd
document collections and add type tests
2026-10-27 22:38:37 +01:00
Kacper Donat
ed427dd6cd
fix lazy tests
2026-10-27 22:26:35 +01:00
Kacper Donat
364b97deaa
add lazy collection transforms
2026-10-27 22:24:58 +01:00
Kacper Donat
b836bc5e8f
move query helpers to internal namespace
2026-10-27 22:22:12 +01:00
Kacper Donat
483375240b
add collection queries
2026-10-27 22:21:50 +01:00
Kacper Donat
1cddbe796a
add collectors and grouping
2026-10-27 22:19:33 +01:00
Kacper Donat
04c40087c2
hoist callback compilation out of transform closures
2026-10-27 22:18:48 +01:00
Kacper Donat
b48f28e9dc
add eager collection transforms
2026-10-27 22:15:52 +01:00
Kacper Donat
159e9a56ab
pass value only to decorated internal callbacks
2026-10-27 22:11:15 +01:00
Kacper Donat
66705f3e31
share apply dispatch with compiled fixed functions
2026-10-27 22:11:15 +01:00
Kacper Donat
bdb49b0d78
drop extra arguments for compiled internal functions
2026-10-27 22:08:37 +01:00
Kacper Donat
1e94adc872
add compilable decorators
2026-10-27 22:07:36 +01:00
Kacper Donat
8e824ef93c
upgrade to php 8.2 and phpunit 11
2026-10-27 22:04:21 +01:00
Kacper Donat
12918eb3cb
fix deprecations on php 8.4+
...
Mark threshold parameters as explicitly nullable and silence return type
deprecations of ReflectionDecoratedFunction while keeping php 7.1 support.
2026-10-25 16:01:51 +01:00
Kacper Donat
fff1013711
add transforms test
2019-03-17 15:26:16 +01:00
Kacper Donat
9e348d929c
add ref method with arity setting
2019-03-17 14:38:28 +01:00
Kacper Donat
0b58a4c620
fix ref function to work properly with array syntax
2018-09-08 11:28:23 +02:00
Kacper Donat
c11a615169
add object transforms
2018-09-07 21:52:21 +02:00
Kacper Donat
822b939ec8
add ref function alias to closure from callable
2018-09-04 18:39:13 +02:00
Kacper Donat
f8ea3de9f7
fix partial application of function with applied placeholders
2018-09-02 20:26:49 +02:00
Kacper Donat
024d97d46c
add memoized function helper
2018-08-27 18:57:36 +02:00
Kacper Donat
e46fbb3cc0
reflection of function decorators
2018-08-23 21:43:49 +02:00
Kacper Donat
dcee45e10b
few more Y combinator tests
2018-08-22 23:09:38 +02:00
Kacper Donat
a24647c455
add Y combinator in form of fix function
2018-08-22 21:20:52 +02:00
Kacper Donat
5c640b578c
add pipeline
2018-07-16 21:47:06 +02:00
Kacper Donat
17c96b2834
force call if no args supplied for curried function
2018-07-15 23:00:49 +02:00
Kacper Donat
f8eb8a0cf7
add currying
2018-07-15 22:27:03 +02:00
Kacper Donat
c9392f9b12
add negate alias for not method of predicate
2018-07-15 20:50:11 +02:00
Kacper Donat
596031d09e
add reflection for applied function
2018-07-15 20:42:37 +02:00
Kacper Donat
fd3288a4ad
add partial application util
2018-07-15 20:00:33 +02:00