Skip to content

Commit

Permalink
Fix MonadFail usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-audm committed Feb 11, 2020
1 parent 3e6ac61 commit 4608821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Data/Bson.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ module Data.Bson (
ObjectId(..), timestamp, genObjectId, showHexLen
) where

import Prelude hiding (lookup)
import Prelude hiding (fail, lookup)
#if !MIN_VERSION_base(4,8,0)
import Control.Applicative ((<$>))
#endif
#if !MIN_VERSION_base(4,13,0)
import Control.Monad.Fail (MonadFail)
import Control.Monad.Fail (MonadFail(fail))
#endif
import Control.Monad (foldM)
import Data.Bits (shift, (.|.))
Expand Down

0 comments on commit 4608821

Please sign in to comment.