summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events/src/Events/Spec/Types.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/events/src/Events/Spec/Types.hs b/events/src/Events/Spec/Types.hs
index cc3c4e4..cfc6889 100644
--- a/events/src/Events/Spec/Types.hs
+++ b/events/src/Events/Spec/Types.hs
@@ -26,16 +26,16 @@ data Expr :: (* -> *) -> [*] -> * -> * where
26 26
27type family Val m a where 27type family Val m a where
28 Val m (a -> b) = Expr m '[a] b 28 Val m (a -> b) = Expr m '[a] b
29 Val m a = m a 29 Val m a = m a
30 30
31type family Ctx m f where 31type family Ctx m f where
32 Ctx m (m a -> b) = (a ': Ctx m b) 32 Ctx m (m a -> b) = (a ': Ctx m b)
33 Ctx m a = '[] 33 Ctx m a = '[]
34 34
35type family Fin m f where 35type family Fin m f where
36 Fin m (m a -> b) = Fin m b 36 Fin m (m a -> b) = Fin m b
37 Fin m (m a) = a 37 Fin m (m a) = a
38 Fin m a = a 38 Fin m a = a
39 39
40class Bindable m a where 40class Bindable m a where
41 liftE :: a -> Expr m (Ctx m a) (Fin m a) 41 liftE :: a -> Expr m (Ctx m a) (Fin m a)