Skip to content

Commit

Permalink
Revert "Remove instance for deprecated list monad transformer."
Browse files Browse the repository at this point in the history
This reverts commit bc3adef.
  • Loading branch information
fisx committed Jun 18, 2019
1 parent 3153df2 commit cf0c2a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Data/Swagger/Declare.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ instance MonadDeclare d m => MonadDeclare d (IdentityT m) where
declare = lift . declare
look = lift look

instance MonadDeclare d m => MonadDeclare d (ListT m) where
declare = lift . declare
look = lift look

instance MonadDeclare d m => MonadDeclare d (MaybeT m) where
declare = lift . declare
look = lift look
Expand Down

0 comments on commit cf0c2a7

Please sign in to comment.