hw-balancedparens-0.4.1.3: Balanced parentheses
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Data.BalancedParens.Internal.Vector.Storable

Synopsis

Documentation

dropTake :: Storable a => Int -> Int -> Vector a -> Vector a Source #

dropTakeFill :: Storable a => Int -> Int -> a -> Vector a -> Vector a Source #

pageFill Source #

Arguments

:: Storable a 
=> Int

The n-th page to retrieve

-> Int

The page size

-> a

The element value to fill the page when input vector has insufficient values

-> Vector a

The input vector

-> Vector a

The page

Return the n-th page of size s from the input vector. In the case where there isn't sufficient data to fill the page from the input vector, then the remainder of the page is filled with a.