DEV Community

loading...

Discussion on: Indent (xml like) text with flatMap!

Collapse
pcdevil profile image
Attila Gonda Author

Thanks for the kind words! :)
This was a breakthrough for me: Previously I didn't understand how flatMap works, but when I thought about the problem it just *clicked* and I knew this will work flawlessly :))

Collapse
chrisachard profile image
Chris Achard

I love that feeling! It makes learning new things addicting :)