vector-0.10.0.1: Efficient Arrays

Portabilitynon-portable
Stabilityexperimental
MaintainerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Safe HaskellNone

Data.Vector.Internal.Check

Description

Bounds checking infrastructure

Documentation

data Checks Source

Constructors

Bounds 
Unsafe 
Internal 

Instances

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

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

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

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