DEV Community

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

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 :))

chrisachard profile image
Chris Achard

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