summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Exts.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Exts.hs')
-rwxr-xr-xlibraries/base/GHC/Exts.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/GHC/Exts.hs b/libraries/base/GHC/Exts.hs
index 45f6705b0c..9bce21cd27 100755
--- a/libraries/base/GHC/Exts.hs
+++ b/libraries/base/GHC/Exts.hs
@@ -211,11 +211,11 @@ instance IsList [a] where
fromList = id
toList = id
--- | @since
+-- | @since 4.15.0.0
instance IsList (ZipList a) where
- type (Item (ZipList a)) = a
+ type Item (ZipList a) = a
fromList = ZipList
- toList (ZipList as) = as
+ toList = getZipList
-- | @since 4.9.0.0
instance IsList (NonEmpty a) where