-- | This module extends "Data.List" with extra functions of a similar nature.
-- The package also exports the existing "Data.List" functions.
@@ -45,7 +46,7 @@ import Data.Char
import Data.Tuple.Extra
import Data.Monoid
import Numeric
-import Data.Functor
+import Data.Functor hiding (unzip)
import Data.Foldable
import Prelude
import Data.List.NonEmpty (NonEmpty ((:|)))
@@ -156,6 +157,7 @@ lastDef :: a -> [a] -> a
lastDef d xs = foldl (\_ x -> x) d xs -- I know this looks weird, but apparently this is the fastest way to do this: https://hackage.haskell.org/package/base-4.12.0.0/docs/src/GHC.List.html#last