@@ -1131,9 +1131,16 @@ newInvalidatorPull p = return $! InvalidatorPull p
11311131instance HasSpiderTimeline x => Filterable (Event x) where
11321132 mapMaybe f = push $ return . f
11331133
1134+#if MIN_VERSION_these(0, 8, 0)
1135+instance HasSpiderTimeline x => Semialign (Event x) where
1136+ align ea eb = mapMaybe dmapToThese $ merge $ dynamicConst $ DMap.fromDistinctAscList [LeftTag :=> ea, RightTag :=> eb]
1137+instance HasSpiderTimeline x => Align (Event x) where
1138+ nil = eventNever
1139+#else
11341140instance HasSpiderTimeline x => Align (Event x) where
11351141 nil = eventNever
11361142 align ea eb = mapMaybe dmapToThese $ merge $ dynamicConst $ DMap.fromDistinctAscList [LeftTag :=> ea, RightTag :=> eb]
1143+#endif
11371144
11381145data DynType x p = UnsafeDyn !(BehaviorM x (PatchTarget p), Event x p)
11391146 | BuildDyn !(EventM x (PatchTarget p), Event x p)