Skip to content

Commit 0762255

Browse files
authored
Update links for the OverloadedLists extension (#933)
Fixes #932
1 parent fe4aa23 commit 0762255

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

containers/docs/map.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ The following GHCi session shows some of the basic map functionality::
7777
> fromList [(1,"one"),(2,"two"),(3,"new three"),(4,"newer four")]
7878

7979
.. TIP:: You can use the `OverloadedLists
80-
<https://ghc.haskell.org/trac/ghc/wiki/OverloadedLists>`_ extension so
81-
you don't need to write ``fromList [1, 2, 3]`` everywhere; instead you
82-
can just write ``[1, 2, 3]`` and if the function is expecting a map it
83-
will be converted automatically! The code here will continue to use
84-
``fromList`` for clarity though.
80+
<https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/overloaded_lists.html>`_
81+
extension so you don't need to write ``fromList [1, 2, 3]`` everywhere;
82+
instead you can just write ``[1, 2, 3]`` and if the function is
83+
expecting a map it will be converted automatically! The code here
84+
will continue to use ``fromList`` for clarity though.
8585

8686

8787
Importing Map and IntMap

containers/docs/sequence.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following GHCi session shows some of the basic sequence functionality::
7070
> 3
7171

7272
.. TIP:: You can use the `OverloadedLists
73-
<http://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#overloaded-lists>`_
73+
<https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/overloaded_lists.html>`_
7474
extension so you don't need to write ``fromList [1, 2, 3]`` everywhere.
7575
Instead you can just write ``[1, 2, 3]`` and if the function is
7676
expecting a sequence it will be converted automatically! The code here

containers/docs/set.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ The following GHCi session shows some of the basic set functionality::
7474

7575

7676
.. TIP:: You can use the `OverloadedLists
77-
<https://ghc.haskell.org/trac/ghc/wiki/OverloadedLists>`_ extension so
78-
you don't need to write ``fromList [1, 2, 3]`` everywhere. Instead you
79-
can just write ``[1, 2, 3]`` and if the function is expecting a set it
80-
will be converted automatically! The code here will continue to use
81-
``fromList`` for clarity though.
77+
<https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/overloaded_lists.html>`_
78+
extension so you don't need to write ``fromList [1, 2, 3]`` everywhere.
79+
Instead you can just write ``[1, 2, 3]`` and if the function is
80+
expecting a set it will be converted automatically! The code here
81+
will continue to use ``fromList`` for clarity though.
8282

8383

8484
Importing Set and IntSet

0 commit comments

Comments
 (0)