@@ -102,7 +102,12 @@ import Data.Type.Coercion
102102import Data.Type.Equality ((:~:)(..))
103103import Data.Typeable (Typeable)
104104import GHC.Exts (Proxy#, proxy#)
105−import Prelude hiding (filter, foldl, foldMap, foldr, map, null)
105+import Prelude hiding
106+ ( filter, foldl, foldMap, foldr, map, null
107+#if MIN_VERSION_base(4, 20, 0)
108+ , foldl'
109+#endif
110+ )
106111import Refined
107112import Refined.Unsafe
108113import Unsafe.Coerce