vector-0.11.0.0: Efficient Arrays

Copyright(c) Roman Leshchinskiy 2009
LicenseBSD-style
MaintainerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Vector.Internal.Check

Description

Bounds checking infrastructure

Documentation

data Checks #

Constructors

Bounds 
Unsafe 
Internal 

Instances

Eq Checks # 

Methods

(==) :: Checks -> Checks -> Bool #

(/=) :: Checks -> Checks -> Bool #

error :: String -> Int -> String -> String -> a #

check :: String -> Int -> Checks -> String -> String -> Bool -> a -> a #

checkIndex :: String -> Int -> Checks -> String -> Int -> Int -> a -> a #

checkLength :: String -> Int -> Checks -> String -> Int -> a -> a #

checkSlice :: String -> Int -> Checks -> String -> Int -> Int -> Int -> a -> a #