diff --git a/Text/PrettyPrint/Mainland.hs b/Text/PrettyPrint/Mainland.hs
--- a/Text/PrettyPrint/Mainland.hs
+++ b/Text/PrettyPrint/Mainland.hs
@@ -532,7 +532,11 @@
                 else spaces (f - w)
 
 -- | Equivalent of 'fail', but with a document instead of a string.
+#if MIN_VERSION_base(4,13,0)
+faildoc :: MonadFail m => Doc -> m a
+#else
 faildoc :: Monad m => Doc -> m a
+#endif
 faildoc = fail . pretty 80
 
 -- | Equivalent of 'error', but with a document instead of a string.
diff --git a/mainland-pretty.cabal b/mainland-pretty.cabal
--- a/mainland-pretty.cabal
+++ b/mainland-pretty.cabal
@@ -1,11 +1,11 @@
 name:           mainland-pretty
-version:        0.7
+version:        0.7.0.1
 cabal-version:  >= 1.6
 license:        BSD3
 license-file:   LICENSE
 copyright:      (c) 2006-2011 Harvard University
                 (c) 2011-2012 Geoffrey Mainland
-                (c) 2015-2018 Drexel University
+                (c) 2015-2019 Drexel University
 author:         Geoffrey Mainland <mainland@drexel.edu>
 maintainer:     Geoffrey Mainland <mainland@drexel.edu>
 stability:      alpha
@@ -19,7 +19,8 @@
                 locations associated with pretty printed values and output
                 appropriate #line pragmas and its ability to produce output
                 in the form of lazy text using a builder.
-tested-with:    GHC==7.4.2, GHC==7.6.3, GHC==7.8.3, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
+tested-with:    GHC==7.4.2, GHC==7.6.3, GHC==7.8.3, GHC==7.10.3, GHC==8.0.2,
+                GHC==8.2.2, GHC==8.4.3, GHC==8.6.5, GHC==8.8.1
 
 build-type:     Simple
 
@@ -30,7 +31,7 @@
 
   build-depends:
     base         >= 4.5  && < 5,
-    containers   >= 0.2  && < 0.6,
+    containers   >= 0.2  && < 0.7,
     srcloc       >= 0.2  && < 0.6,
     text         >  0.11 && < 1.3,
     transformers >  0.3  && < 0.6
