on develop help sign in
Minor formatting
747a3d2Ali Abrar
src/Reflex/Vty/Widget.hs+2−1
@@ -101,7 +101,8 @@ newtype VtyWidget t m a = VtyWidget { unVtyWidget :: WriterT (VtyWidgetOut t) (R
101 deriving (Functor, Applicative, Monad, MonadSample t, MonadHold t, MonadFix)
101 deriving (Functor, Applicative, Monad, MonadSample t, MonadHold t, MonadFix)
102
102
103-- | Runs a 'VtyWidget' with a given context
103-- | Runs a 'VtyWidget' with a given context
104−runVtyWidget :: (Reflex t)
104+runVtyWidget
105+ :: Reflex t
105 => VtyWidgetCtx t
106 => VtyWidgetCtx t
106 -> VtyWidget t m a
107 -> VtyWidget t m a
107 -> m (a, VtyWidgetOut t)
108 -> m (a, VtyWidgetOut t)