Commit Graph

16 Commits

Author SHA1 Message Date
Kacper Donat
a4a51e32a1 sort natively in sortBy and sort 2026-10-28 09:56:11 +01:00
Kacper Donat
c27e326d59 document callback adaptation, errors and min/max ties 2026-10-27 23:12:05 +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
a09e6840d4 fix closure for static method array callables 2026-10-27 23:00:21 +01:00
Kacper Donat
978a49091f fix negated predicate decorated callable 2026-10-27 22:59:06 +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
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
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