File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212#### Changed
1313
1414- The ` vector ` , ` string ` , and ` average ` reducers are now faster and use less memory.
15+ - ` comp ` is now a macro and uses less memory for long composition chains.
1516
1617#### Fixed
1718
Original file line number Diff line number Diff line change 1313 (reversed (reverse (cl :cons function functions))))
1414 ` (lambda (&rest , args)
1515 , (reduce (lambda (data fn)
16- ` (funcall , fn , data))
17- (cdr reversed)
18- :initial-value ` (apply , (car reversed) , args)))))
16+ ` (funcall , fn , data))
17+ (cdr reversed)
18+ :initial-value ` (apply , (car reversed) , args)))))
1919
20- #+ nil
21- (macroexpand-1 ' (comp (f)))
22- #+ nil
23- (macroexpand-1 ' (comp (f x)))
24- #+ nil
25- (macroexpand-1 ' (comp (f) (g)))
26- #+ nil
27- (macroexpand-1 ' (comp (f x) (g)))
28- #+ nil
29- (macroexpand-1 ' (comp (f x) (g x)))
30- #+ nil
31- (macroexpand-1 ' (comp (const 1337 ) (lambda (n) (* 2 n)) #' 1+ ))
3220#+ nil
3321(funcall (comp (const 1337 ) (lambda (n) (* 2 n)) #' 1+ ) 1 )
3422
You can’t perform that action at this time.
0 commit comments