Skip to content
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

Add doctest for every function in the Colog.Core.Action module #58

Closed
chshersh opened this issue Oct 11, 2018 · 0 comments
Closed

Add doctest for every function in the Colog.Core.Action module #58

chshersh opened this issue Oct 11, 2018 · 0 comments
Labels
doc Hacktoberfest https://hacktoberfest.digitalocean.com/ log-action Everything related to LogAction data type package:co-log-core For: co-log-core tests

Comments

@chshersh
Copy link
Contributor

We have nice operators &> and <& to pass messages to loggers. Very useful for doctesting!

@chshersh chshersh added package:co-log-core For: co-log-core log-action Everything related to LogAction data type doc tests Hacktoberfest https://hacktoberfest.digitalocean.com/ labels Oct 11, 2018
@chshersh chshersh added this to To do in #2: Hacktoberfest (October, 2018) via automation Oct 11, 2018
#2: Hacktoberfest (October, 2018) automation moved this from To do to Done: Issues Oct 13, 2018
chshersh pushed a commit that referenced this issue Oct 13, 2018
* [#58] Expands doctests in Colog.Core.Action

* Replaces conquer implementation with mempty

* fixes link in conquer documentation

* Uses logStringStdout in doctests for Colog.Core.Action

Allows us to reuse functions we provide instead of
handwriting them in each example.

Requires adding a few lines at the top of the module to
setup the import of Core.IO.
@chshersh chshersh removed this from Done: Issues in #2: Hacktoberfest (October, 2018) Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Hacktoberfest https://hacktoberfest.digitalocean.com/ log-action Everything related to LogAction data type package:co-log-core For: co-log-core tests
Projects
None yet
Development

No branches or pull requests

1 participant