Module
Data.List.Pointed
- Package
- purescript-pointed-list
- Repository
- paluh/purescript-pointed-list
#fromFoldable Source
fromFoldable :: forall a f. Foldable f => f a -> Maybe (Pointed a)
Build and set focus at the end.
#fromFoldable1 Source
fromFoldable1 :: forall a f. Foldable1 f => f a -> Pointed a
#insertLeft Source
insertLeft :: forall a. a -> Pointed a -> Pointed a
Insert element before current focus and move focus to the new one.
#insertRight Source
insertRight :: forall a. a -> Pointed a -> Pointed a
#deleteLeft Source
deleteLeft :: forall a. Pointed a -> Maybe (Pointed a)
Delete current focus
and move to the left if possible.
#deleteRight Source
deleteRight :: forall a. Pointed a -> Maybe (Pointed a)
Delete current focus
and move to the right if possible.
#dropPrefix Source
dropPrefix :: forall a. Pointed a -> Pointed a
#dropSuffix Source
dropSuffix :: forall a. Pointed a -> Pointed a
- Modules
- Data.
List. Pointed