Skip to content
Snippets Groups Projects
Commit 3f6e5b97 authored by Josh Price's avatar Josh Price Committed by Marge Bot
Browse files

Correct the large tuples section in user's guide

Fixes #16644.
parent dcd843ac
No related branches found
No related tags found
No related merge requests found
......@@ -312,14 +312,6 @@ Multiply-defined array elements not checked
In ``Prelude`` support
^^^^^^^^^^^^^^^^^^^^^^
Arbitrary-sized tuples
Tuples are currently limited to size 100. However, standard
instances for tuples (``Eq``, ``Ord``, ``Bounded``, ``Ix``, ``Read``,
and ``Show``) are available *only* up to 16-tuples.
This limitation is easily subvertible, so please ask if you get
stuck on it.
``splitAt`` semantics
``Data.List.splitAt`` is more strict than specified in the Report.
Specifically, the Report specifies that ::
......@@ -481,6 +473,14 @@ Unchecked floating-point arithmetic
.. index::
single: floating-point exceptions.
Large tuple support
The Haskell Report only requires implementations to provide tuple
types and their accompanying standard instances up to size 15. GHC
limits the size of tuple types to 62 and provides instances of
``Eq``, ``Ord``, ``Bounded``, ``Read``, and ``Show`` for tuples up
to size 15. However, ``Ix`` instances are provided only for tuples
up to size 5.
.. _bugs:
Known bugs or infelicities
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment