Module

Data.ResizeArray

Package
purescript-resize-arrays
Repository
m-bock/purescript-resize-arrays

#cons Source

cons :: forall a. a -> ResizeArray a -> ResizeArray a

#debug Source

debug :: forall a. ResizeArray a -> (Int /\ (Array (Int /\ a)))

#drop Source

drop :: forall a. Int -> ResizeArray a -> ResizeArray a

#dropEnd Source

dropEnd :: forall a. Int -> ResizeArray a -> ResizeArray a

#dropEndWhile Source

dropEndWhile :: forall a. (a -> Boolean) -> ResizeArray a -> ResizeArray a

#dropWhile Source

dropWhile :: forall a. (a -> Boolean) -> ResizeArray a -> ResizeArray a

#empty Source

empty :: forall a. ResizeArray a

#emptyAt Source

emptyAt :: forall a. Int -> ResizeArray a

#fromArray Source

fromArray :: forall a. Array a -> ResizeArray a

#fromArrayAt Source

fromArrayAt :: forall a. Int -> Array a -> ResizeArray a

#head Source

head :: forall a. ResizeArray a -> Maybe a

#index Source

index :: forall a. ResizeArray a -> Int -> Maybe a

#isEmpty Source

isEmpty :: forall a. ResizeArray a -> Boolean

#last Source

last :: forall a. ResizeArray a -> Maybe a

#length Source

length :: forall a. ResizeArray a -> Int

#reindex Source

reindex :: forall a. Int -> ResizeArray a -> ResizeArray a

#snoc Source

snoc :: forall a. ResizeArray a -> a -> ResizeArray a

#toArray Source

toArray :: forall a. ResizeArray a -> Array a

#toList Source

toList :: forall a. ResizeArray a -> List a

#toListWithIndices Source