Created
September 14, 2015 17:09
-
-
Save OleTraveler/c169acca767f6be58e01 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 OurApp[A] = Coproduct[Auth, Interact, A] | |
type OurAppPlus[A] = Coproduct[OurApp, ThirdAlgebra, A] | |
type ACoyo[A] = Coyoneda[OurAppPlus,A] | |
type AFree[A] = Free[ACoyo,A] | |
def point[A](a: ⇒ A): FreeC[OurAppPlus, A] = Monad[AFree].point(a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment