The `fold` works, but it always seems to be a bit ...
# arrow
s
The
fold
works, but it always seems to be a bit wrong. The
fold
method returns a value; it doesn’t seem fit to execute a side-effect like a
forEach
would do….
p
Unit is a value :D
ideally you'd like to make the side-effect into an effect by wrapping on IO or suspend
👍 1
s
True, but still 🙂