[commit: ghc] master: Mention that `Data.Ix` uses row-major indexing (2fc2294)

git at git.haskell.org git at git.haskell.org
Tue Aug 19 11:11:41 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2fc22949e30eab9f751be90e788ebb2b56f1b132/ghc

>---------------------------------------------------------------

commit 2fc22949e30eab9f751be90e788ebb2b56f1b132
Author: Alexander Berntsen <alexander at plaimi.net>
Date:   Fri May 16 17:32:04 2014 +0200

    Mention that `Data.Ix` uses row-major indexing
    
    This addresses Trac #8712 by simply mentioning row-major indexing,
    thereby removing any ambiguity.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


>---------------------------------------------------------------

2fc22949e30eab9f751be90e788ebb2b56f1b132
 libraries/base/Data/Ix.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/Data/Ix.hs b/libraries/base/Data/Ix.hs
index bdfea60..d3be1c4 100644
--- a/libraries/base/Data/Ix.hs
+++ b/libraries/base/Data/Ix.hs
@@ -12,7 +12,7 @@
 --
 -- The 'Ix' class is used to map a contiguous subrange of values in
 -- type onto integers.  It is used primarily for array indexing
--- (see the array package).
+-- (see the array package).  'Ix' uses row-major order.
 -- 
 -----------------------------------------------------------------------------
 



More information about the ghc-commits mailing list