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 higher-order transformation function #138

Closed
chshersh opened this issue Jul 13, 2019 · 1 comment · Fixed by #154
Closed

Add higher-order transformation function #138

chshersh opened this issue Jul 13, 2019 · 1 comment · Fixed by #154
Labels
enhancement New feature or request Hacktoberfest https://hacktoberfest.digitalocean.com/ package:co-log-core For: co-log-core

Comments

@chshersh
Copy link
Contributor

The following function might be useful

hoistLogAction :: (forall x . m x -> n x) -> LogAction m a -> LogAction n a
@chshersh chshersh added enhancement New feature or request package:co-log-core For: co-log-core labels Jul 13, 2019
@vrom911 vrom911 added the Hacktoberfest https://hacktoberfest.digitalocean.com/ label Sep 29, 2019
jiribenes added a commit to jiribenes/co-log that referenced this issue Oct 7, 2019
@jiribenes
Copy link
Contributor

👋 Created the function, will create a PR shortly.

The only problem is that I haven't figured out a sensible example/test for this.

vrom911 pushed a commit that referenced this issue Oct 7, 2019
* [#138] Add higher-order transformation function

* Add example and inline pragma to 'hoistLogAction'
@chshersh chshersh added this to the v0.4.0.0: Polishtown milestone Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest https://hacktoberfest.digitalocean.com/ package:co-log-core For: co-log-core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants