mirror of
https://github.com/ilyakooo0/reflex-vty.git
synced 2024-11-23 03:13:26 +03:00
Fix for reflex-0.6.3
This commit is contained in:
parent
75831ad9ac
commit
6aea4cd874
@ -3,6 +3,7 @@
|
||||
## Unreleased
|
||||
|
||||
* Add `keyCombo` function (single-key-combination version of `keyCombos`)
|
||||
* Use upstream `NotReady` instances instead of orphans defined in this package if reflex-0.6.3 is available
|
||||
|
||||
## 0.1.2.0
|
||||
* Allow TextZipper contents to be tranformed before being displayed
|
||||
|
@ -2,15 +2,17 @@
|
||||
Module: Reflex.Spider.Orphans
|
||||
Description: Orphan instances for SpiderTimeline and SpiderHost
|
||||
-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
module Reflex.Spider.Orphans where
|
||||
|
||||
#if MIN_VERSION_reflex(0,6,3)
|
||||
#else
|
||||
import Reflex
|
||||
import Reflex.Spider.Internal
|
||||
|
||||
-- TODO move this to reflex
|
||||
instance NotReady (SpiderTimeline x) (SpiderHost x) where
|
||||
notReadyUntil _ = pure ()
|
||||
notReady = pure ()
|
||||
@ -18,3 +20,4 @@ instance NotReady (SpiderTimeline x) (SpiderHost x) where
|
||||
instance HasSpiderTimeline x => NotReady (SpiderTimeline x) (PerformEventT (SpiderTimeline x) (SpiderHost x)) where
|
||||
notReadyUntil _ = pure ()
|
||||
notReady = pure ()
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user