[Git][ghc/ghc][wip/fromListN] Apply suggestion to libraries/base/GHC/Exts.hs
Bodigrim
gitlab at gitlab.haskell.org
Mon May 18 20:18:17 UTC 2020
Bodigrim pushed to branch wip/fromListN at Glasgow Haskell Compiler / GHC
Commits:
47b953f7 by Bodigrim at 2020-05-18T16:17:14-04:00
Apply suggestion to libraries/base/GHC/Exts.hs
- - - - -
1 changed file:
- libraries/base/GHC/Exts.hs
Changes:
=====================================
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
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/47b953f725db286ad1b90e3ceec9e5d027079c24
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/47b953f725db286ad1b90e3ceec9e5d027079c24
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200518/fef8be85/attachment.html>
More information about the ghc-commits
mailing list