Skip to content

Commit

Permalink
Derive Functor/Applicative for Win32/Draw backend
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <austin@well-typed.com>
  • Loading branch information
Austin Seipp committed Sep 16, 2014
1 parent d62474e commit 4a26c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion System/Console/Haskeline/Backend/Win32.hsc
Expand Up @@ -260,7 +260,7 @@ closeHandles :: Handles -> IO ()
closeHandles hs = closeHandle (hIn hs) >> closeHandle (hOut hs)

newtype Draw m a = Draw {runDraw :: ReaderT Handles m a}
deriving (Monad,MonadIO,MonadException, MonadReader Handles)
deriving (Functor, Applicative, Monad, MonadIO, MonadException, MonadReader Handles)

type DrawM a = (MonadIO m, MonadReader Layout m) => Draw m a

Expand Down

0 comments on commit 4a26c23

Please sign in to comment.