Skip to content

Commit b3f0456

Browse files
committed
woops, actually use the optimized folder. thanks @tomprince
1 parent 1c38048 commit b3f0456

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

effect/fold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ def sequence(effects):
6262
def folder(acc, el):
6363
l.append(el)
6464
return l
65-
return fold_effect(lambda acc, el: acc + [el], l, effects)
65+
return fold_effect(folder, l, effects)

0 commit comments

Comments
 (0)