This post announces the new
The prompt to make this library was that the maintainer of the
rainbow package didn't want to get rid of the
lens dependency to decrease its dependency footprint.
I learnt a lot while writing this library, and it has produced some of the prettiest output that I have ever seen in my terminal. It turns out that most "coloured text" libraries have quite nasty failure modes like environment-dependent crashes, so I made sure to make the library safe, wherever possible.
Once I had gotten started, I figured I would implement things the way I like them.