@@ -2,15 +2,17 @@
22Module: Reflex.Spider.Orphans
33Description: Orphan instances for SpiderTimeline and SpiderHost
44-}
5+{-# LANGUAGE CPP #-}
56{-# LANGUAGE FlexibleInstances #-}
67{-# LANGUAGE MultiParamTypeClasses #-}
78{-# OPTIONS_GHC -fno-warn-orphans #-}
89module Reflex.Spider.Orphans where
910
11+#if MIN_VERSION_reflex(0,6,3)
12+#else
1013import Reflex
1114import Reflex.Spider.Internal
1215
13−-- TODO move this to reflex
1416instance NotReady (SpiderTimeline x) (SpiderHost x) where
1517 notReadyUntil _ = pure ()
1618 notReady = pure ()
@@ -18,3 +20,4 @@ instance NotReady (SpiderTimeline x) (SpiderHost x) where
1820instance HasSpiderTimeline x => NotReady (SpiderTimeline x) (PerformEventT (SpiderTimeline x) (SpiderHost x)) where
1921 notReadyUntil _ = pure ()
2022 notReady = pure ()
23+#endif