Created
August 12, 2018 11:55
-
-
Save debasishg/3ca979824e210901f228dcb243490d5e to your computer and use it in GitHub Desktop.
algebra of effects for a domain service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Valid[M[_], A] = EitherT[M, AccountServiceException, A] | |
type AccountOperation[M[_], A] = Kleisli[Valid[M, ?], AccountRepository[M], A] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment