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

Introduced Suspendable type class #710

Merged
merged 3 commits into from
Aug 16, 2016

Commits on Aug 16, 2016

  1. Introduced Suspendable type class

    This PR moves `suspend` and `delay` from the `Effect` type class to a
    new `Suspendable` type class. There are two motivations for doing this:
    
     - Exposing `unsafeRunAsync` to any function that requires `suspend`
       or `delay` gives up a lot of parametricity.
    
     - Some type constructors have `Suspendable` instances but do not
       support value extraction. This came up in the [port of Doobie to
       FS2](typelevel/doobie#323 (comment)).
    
    This [came up on Gitter a while back as
    well](http://www.gitterforum.com/discussion/scalaz-scalaz-stream?page=143).
    mpilquist committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    7cb2be4 View commit details
    Browse the repository at this point in the history
  2. Fixed typo in guide

    mpilquist committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    3bc7d68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21ebe98 View commit details
    Browse the repository at this point in the history