Skip to content

WIP: adds hkt support #446

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

Merged
merged 29 commits into from
Jul 12, 2020
Merged

WIP: adds hkt support #446

merged 29 commits into from
Jul 12, 2020

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jul 4, 2020

This is just a quick demo for ones who is interested.

@codecov
Copy link

codecov bot commented Jul 4, 2020

Codecov Report

Merging #446 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #446   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           48        45    -3     
  Lines         1228      1298   +70     
  Branches       154       112   -42     
=========================================
+ Hits          1228      1298   +70     
Impacted Files Coverage Δ
...eturns/_generated/futures/_reader_future_result.py 100.00% <ø> (ø)
returns/_generated/futures/_future.py 100.00% <100.00%> (ø)
returns/_generated/futures/_future_result.py 100.00% <100.00%> (ø)
returns/_generated/pipeline/flow.py 100.00% <100.00%> (ø)
returns/context/requires_context.py 100.00% <100.00%> (ø)
returns/context/requires_context_future_result.py 100.00% <100.00%> (ø)
returns/context/requires_context_ioresult.py 100.00% <100.00%> (ø)
returns/context/requires_context_result.py 100.00% <100.00%> (ø)
returns/future.py 100.00% <100.00%> (ø)
returns/interfaces/applicative.py 100.00% <100.00%> (ø)
... and 42 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b403300...dcab55d. Read the comment docs.

@sobolevn sobolevn changed the title WIP: adds hkt support for Functor and Maybe WIP: adds hkt support Jul 4, 2020
@sobolevn
Copy link
Member Author

The only thing left to do is:

  • add Rescuable interface with .rescue method
  • add rescue method and pointfree function
  • add ResultBased interface with .from_result and .bind_result methods
  • add bind_result method and pointfree function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant