question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adopt cats-effect type-classes?

See original GitHub issue

I figured we should consider this as a way to abstract over concrete IO type for Endpoint.

As @travisbrown mentioned, there is no way to provide law-full instances of effect type-classes for Twitter Futures. Maybe doing so for Rerunnable is a fine middle-ground?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13

github_iconTop GitHub Comments

2reactions
sergeykolbasovcommented, Aug 13, 2018

In that case I already started an experiment quite a while ago and could land a PR soon.

1reaction
vkostyukovcommented, Jun 21, 2018

I filed #954 to experiment with it in 0.22. I think we still should keep Endpoint methods defined in terms of Twitter Future (for the sake of keeping the user-facing API unchanged). I can totally see, however, Finch switching to cats-effect (hence being polymorphic in its effect type) somewhere after 1.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview · Cats Effect - Typelevel
The typeclass hierarchy within Cats Effect defines what it means, fundamentally, to be a functional effect. This is very similar to how we...
Read more >
Proposal: A cats-effect project · Issue #1617 - GitHub
Both cats-effect and effects4s provide a set of typeclasses for characterizing effects. ... FYI, FS2 1.0 will adopt cats and cats-effect.
Read more >
Types: Never commit too early - Part 2: How typeclasses save us
Typeclasses to the rescue. Let's focus on specific examples to clear our mind. We'll take a look at some cats-effect typeclasses, but all...
Read more >
Intro to Cats-Effect (Gavin Bisesi) - YouTube
Cats Effect is a functional side effect library - Gavin Bisesi explains what that means, what it gives you, how to use it,...
Read more >
Introducing Dogs to Cats - American Humane
Resident dog to new cat: If you are adopting a cat, ... Continue with this type of introduction until the dog is calm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found