
#8712: Data.Ix missing info on row/column major indexing -------------------------------------+------------------------------------- Reporter: mirpa | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.6.3 Resolution: | Keywords: row, column, Operating System: Unknown/Multiple | major, Ix Type of failure: Documentation | Architecture: Unknown/Multiple bug | Difficulty: Easy (less than 1 Test Case: | hour) Blocking: | Blocked By: | Related Tickets: -------------------------------------+------------------------------------- Comment (by mirpa): Thank you for recommendations on libraries. I've heard about Repa. For info: I use {{{FreeType}}} binding to render monochromatic glyphs which gives me {{{ByteString}}} with rows-width-pitch. I convert {{{ByteString}}} into {{{Data.Vector}}} for some number crunching (filtering) and save it as grey scale image with {{{JuicyPixels}}}. {{{Data.Ix}}} is used to address {{{Vector}}} as 2D array. It took me a while before I figured out why there is tearing and/or rotation in my image. I think that appropriate note in documentation could give a vital clue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8712#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler