-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement 'out', 'outLn', 'err' and 'errLn' functions for outputting 'Text' to corresponding handlers #107
Comments
i'll take care of this. |
Feel free to take care of this issue! I think using these functions in others would be a good idea indeed. As long as there're no cyclic dependencies. |
so after this we have slight inconsistencies in naming
colored output
OK with that? Ideally i'd prefer renaming the colored ones to
but that's not backwards compatible |
Would you like some tests using or skip the tests for this since the definitions are trivial. |
overkill example:
|
@martinhelmer I like these tests with
My plan is to remove Initially, I implemented a design with a separate formatting function, so it could be used in a combination with something like Iris.putStderrColouredLn
(Pretty.style Pretty.Bold . Pretty.color Pretty.Green)
"my message" But I'd rather do #110 properly, so functions like Iris.errLn $ Iris.bold $ Iris.green "my message" |
ok. roger that. |
I believe, the title is pretty clear. What's needed specifically:
Iris.IO
moduleIris
The text was updated successfully, but these errors were encountered: