hello,
just trying transducers before using it, i try to understand.
what is wrong with that:
scheme@(guile-user)> (list-transduce (tfilter (λ (x) x))
(tdelete-duplicates) (list 1 2 #f 3 3 4))
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong number of arguments to #
Entering a new pro
i just understood the scheme :-)
scheme@(guile-user)> (list-transduce (compose (tfilter (λ (x) x))
(tdelete-duplicates)) rcons (list 1 2 #f 3 3 4))
$12 = (1 2 3 4)
sorry...
On Thu, Dec 22, 2022 at 3:33 PM Damien Mattei
wrote:
> hello,
> just trying transducers before using it, i try to unders
i'm interested with transducers to speed up code:
;; 8'21" MacOS Ventura M1
{unified-minterms-set-2 <+ (filter (λ (x) x) unified-minterms-set-1)} ;;
remove #f results
(nodebug
{unified-minterms-set-2-length <+ (length unified-minterms-set-2)}
(dv unified-minterms-set-2-length))
{unifi