Skip to content

Instantly share code, notes, and snippets.

@vmarquez
Created December 23, 2015 17:37
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 vmarquez/1b40c47085934a5df5bd to your computer and use it in GitHub Desktop.
Save vmarquez/1b40c47085934a5df5bd to your computer and use it in GitHub Desktop.
def liftT[G[_[_], _], M[_]: Monad, A](a: M[A])(implicit ML: MonadLiftT[G, F], M: Monad[M]): G[M, A] = ML.liftT[M, A](M.map(a)(aa => point(aa)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment