diff --git a/Data/Bson.hs b/Data/Bson.hs index d12b600..7f59b10 100644 --- a/Data/Bson.hs +++ b/Data/Bson.hs @@ -29,7 +29,7 @@ import Prelude hiding (fail, lookup) #if !MIN_VERSION_base(4,8,0) import Control.Applicative ((<$>)) #endif -#if !MIN_VERSION_base(4,13,0) +#if MIN_VERSION_base(4, 9, 0) import Control.Monad.Fail (MonadFail(fail)) #endif import Control.Monad (foldM)