summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2021-02-05 05:50:30 +0100
committerBen Gamari <ben@smart-cactus.org>2021-04-07 18:37:46 -0400
commitcb110c078a2570e765d7b905c13aeb7c894fde29 (patch)
treeb67dc2a982a528ea1a96b79a1e16e63fce5c53d8
parentc8b0b726681ac0da032dafead9d3c41c47261055 (diff)
downloadhaskell-cb110c078a2570e765d7b905c13aeb7c894fde29.tar.gz
base: Fix since-annotation for Data.List.singleton
(cherry picked from commit 9b7dcd80f16efda57e4e51e39d61b55a11c72014)
-rw-r--r--libraries/base/Data/OldList.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/OldList.hs b/libraries/base/Data/OldList.hs
index 0252ae0fd8..ee93cd3c74 100644
--- a/libraries/base/Data/OldList.hs
+++ b/libraries/base/Data/OldList.hs
@@ -1275,7 +1275,7 @@ sortOn f =
-- >>> singleton True
-- [True]
--
--- @since 4.14.0.0
+-- @since 4.15.0.0
--
singleton :: a -> [a]
singleton x = [x]