on develop help sign in
Derive MonadIO for Layout and Focus
commit1fddcbac966489436a6fd82c4f3362189937dc6a authorAli Abrar <aliabrar@gmail.com> dateWed 24 Mar 2021, 13:15 (6 years ago) parentd91e22d
1 file changed+2
src/Reflex/Vty/Widget/Layout.hs+2
src/Reflex/Vty/Widget/Layout.hs+2
@@ -108,6 +108,7 @@ newtype Focus t m a = Focus
108108 , HasDisplaySize t
109109 , PostBuild t
110110 , MonadNodeId
111+ , MonadIO
111112 )
112113
113114
@@ -390,6 +391,7 @@ newtype Layout t m a = Layout
390391 , HasDisplaySize t
391392 , PostBuild t
392393 , MonadNodeId
394+ , MonadIO
393395 )
394396
395397instance MonadTrans (Layout t) where