Commit Graph

39 Commits

Author SHA1 Message Date
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
Kacper Donat
287f07dba6 add phpunit config 2018-07-11 18:11:47 +02:00
Kacper Donat
1a0c6a5bc8 add test cases for constant predicate 2018-07-10 18:51:44 +02:00
Kacper Donat
804dd0e0e4 add basic predicates 2018-07-08 18:05:25 +02:00
Kacper Donat
4820e9fdb4 add constant value predicate 2018-02-28 21:50:47 +01:00
Kacper Donat
40f8bfeab8 proof of concept 2018-02-28 21:37:37 +01:00