Open chshersh opened 1 year ago
Adding an idea for the desired API.
Current usage: together with pretty-terminal
Iris.putStderrColouredLn
(Pretty.style Pretty.Bold . Pretty.color Pretty.Green)
"my message"
Desired usage: no external dependency besides iris
Iris.errLn $ Iris.bold $ Iris.green "my message"
From other issues, I noticed a pattern of having a data type displayed based on the terminal settings:
So I'm thinking about the best way to have an interface with the following requirements:
App
monad that will automatically figure out how to print the valueIf you have any ideas, I'd love to hear 🙂