Module

FFI.Simple.PseudoArray

Package
purescript-ffi-simple
Repository
garganscript/purescript-ffi-simple

#PseudoArray Source

#length Source

length :: forall a. a -> Int

Gets the length of a pseudoarray

#from Source

from :: forall a t. a -> Array t

Given a pseudoarray, turns it into a proper array

#drop Source

drop :: forall a t. Int -> a -> Array t

Given a pseudoarray, turns all but the first n items into a proper array

#slice Source

slice :: forall a t. Int -> Int -> a -> Array t

Given a pseudoarray, turns items n through m into a proper array

#unshift Source

unshift :: forall a b. a -> Array b -> Array b