Skip to content

Instantly share code, notes, and snippets.

@lu4nm3
Last active May 14, 2020 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lu4nm3/84a77edde9f2b64082a93fb23debce01 to your computer and use it in GitHub Desktop.
Save lu4nm3/84a77edde9f2b64082a93fb23debce01 to your computer and use it in GitHub Desktop.
trait MonadReader[F[_], E] {
val monad: Monad[F]
def ask: F[E]
def reader[A](f: E => F[A]): F[A]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment