Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ixLaws :: (Ix a, Arbitrary a, Show a) => Proxy a -> Lawsquickcheck-classes-base Test.QuickCheck.Classes.Base Tests the various Ix properties:
inRange (l,u) i == elem i (range (l,u))
range (l,u) !! index (l,u) i == i, when inRange (l,u) imap (index (l,u)) (range (l,u)) == [0 .. rangeSize (l,u) - 1]
rangeSize (l,u) == length (range (l,u))
-
vector-sized Data.Vector.Generic.Sized Type-safe lens to access (O(1)) and update (O(n)) an arbitrary element by its index which should be supplied via TypeApplications.
-
vector-sized Data.Vector.Sized Type-safe lens to access (O(1)) and update (O(n)) an arbitrary element by its index which should be supplied via TypeApplications.
-
vector-sized Data.Vector.Storable.Sized Type-safe lens to access (O(1)) and update (O(n)) an arbitrary element by its index which should be supplied via TypeApplications.
-
vector-sized Data.Vector.Unboxed.Sized Type-safe lens to access (O(1)) and update (O(n)) an arbitrary element by its index which should be supplied via TypeApplications.
-
deriving-compat Data.Deriving.Internal No documentation available.
ixmapP :: (Ix i, Ix i', IArray a e, IArray a' e) => (i', i') -> (i' -> i) -> a i e -> a' i' ecarray Data.Array.CArray More polymorphic version of ixmap.
-
carray Data.Array.CArray Less polymorphic version.
-
carray Data.Array.CArray Less polymorphic version.
-
carray Data.Array.CArray Generic slice and map. This takes the new range, the inverse map on indices, and function to produce the next element. It is the most general operation in its class.