Skip to content

Instantly share code, notes, and snippets.

@oreillyross
Created April 28, 2015 09:12
Show Gist options
  • Save oreillyross/af4354699d298abcfa02 to your computer and use it in GitHub Desktop.
Save oreillyross/af4354699d298abcfa02 to your computer and use it in GitHub Desktop.
sealed trait Free[F[_], A]
final case class Return[F[_], A](a: A) extends Free[F, A]
final case class Suspend[F[_], A](s: F[Free[F, A]]) extends Free[F, A]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment