It’s getting late here.. my brain seems not to abl...
# getting-started
m
It’s getting late here.. my brain seems not to able to wrap around what should be a simple solution: I have an ongoing
map
operation, and I have a list of conditional mutators I want to run on it:
Copy code
.map { frame -> renamers.forEach { it.applyIfMatching(frame) } }
But
map
needs the modified frame, which
applyIfMatching
happily returns (but is discarded by
forEach
)