Module
Data.Container
- Package
- purescript-logoot-core
- Repository
- juspay/purescript-logoot-core
#Container Source
class (Foldable f, Plus f, Applicative f, TraversableWithIndex Int f) <= Container f where
Members
take :: Int -> f ~> f
drop :: Int -> f ~> f
cons :: forall a. a -> f a -> f a
index :: forall a. f a -> Int -> Maybe a
reverse :: f ~> f
last :: forall a. f a -> Maybe a
dropWhile :: forall a. (a -> Boolean) -> f a -> f a
findIndex :: forall a. (a -> Boolean) -> f a -> Maybe Int
replicate :: forall a. Int -> a -> f a
insert :: forall a. Ord a => a -> f a -> f a
slice :: Int -> Int -> f ~> f
zip :: forall b a. f a -> f b -> f (Tuple a b)
zipWith :: forall c b a. (a -> b -> c) -> f a -> f b -> f c
snoc :: forall a. f a -> a -> f a
fromFoldable :: forall g. Foldable g => g ~> f
insertBy :: forall a. (a -> a -> Ordering) -> a -> f a -> f a
insertAt :: forall a. Int -> a -> f a -> Maybe (f a)
deleteAt :: forall a. Int -> f a -> Maybe (f a)
length :: forall a. f a -> Int