summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodigrim <andrew.lelechenko@gmail.com>2020-05-18 16:17:14 -0400
committerBodigrim <andrew.lelechenko@gmail.com>2020-05-18 16:17:14 -0400
commit47b953f725db286ad1b90e3ceec9e5d027079c24 (patch)
treea768ba851a57c2b17c7f12583a5fcd757ecb9f9f
parentc6704f23b64b33888e7c6c9bae2d9db79b4beabd (diff)
downloadhaskell-wip/fromListN.tar.gz
Apply suggestion to libraries/base/GHC/Exts.hswip/fromListN
-rwxr-xr-xlibraries/base/GHC/Exts.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Exts.hs b/libraries/base/GHC/Exts.hs
index 89765028b8..a8bb3949ea 100755
--- a/libraries/base/GHC/Exts.hs
+++ b/libraries/base/GHC/Exts.hs
@@ -181,7 +181,7 @@ class IsList l where
-- 'fromList'. If the given number does not equal to the input list's length
-- the behaviour of 'fromListN' is not specified.
--
- -- prop> fromListN (length xs) == fromList xs
+ -- prop> fromListN (length xs) xs == fromList xs
fromListN :: Int -> [Item l] -> l
fromListN _ = fromList