Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ParensSeq = ParensSeq {}
- mempty :: Monoid a => a
- size :: ParensSeq -> Count
- fromWord64s :: Traversable f => f Word64 -> ParensSeq
- fromPartialWord64s :: Traversable f => f (Word64, Count) -> ParensSeq
- toPartialWord64s :: ParensSeq -> [(Word64, Count)]
- fromBools :: [Bool] -> ParensSeq
- toBools :: ParensSeq -> [Bool]
- splitAt :: Count -> ParensSeq -> (ParensSeq, ParensSeq)
- take :: Count -> ParensSeq -> ParensSeq
- drop :: Count -> ParensSeq -> ParensSeq
- firstChild :: ParensSeq -> Count -> Maybe Count
- nextSibling :: ParensSeq -> Count -> Maybe Count
- (<|) :: Cons v => Elem v -> v -> v
- (><) :: (Semigroup v, Container v) => v -> v -> v
- (|>) :: Snoc v => v -> Elem v -> v
Documentation
Instances
Show ParensSeq Source # | |
Generic ParensSeq Source # | |
Semigroup ParensSeq Source # | |
NFData ParensSeq Source # | |
Snoc ParensSeq Source # | |
Cons ParensSeq Source # | |
Container ParensSeq Source # | |
type Rep ParensSeq Source # | |
Defined in HaskellWorks.Data.BalancedParens.Internal.ParensSeq type Rep ParensSeq = D1 (MetaData "ParensSeq" "HaskellWorks.Data.BalancedParens.Internal.ParensSeq" "hw-balancedparens-0.3.0.0-3pTKDqiN9ic1S3jeUlfW88" True) (C1 (MetaCons "ParensSeq" PrefixI True) (S1 (MetaSel (Just "parens") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ParensSeqFt))) | |
type Elem ParensSeq Source # | |
fromWord64s :: Traversable f => f Word64 -> ParensSeq Source #
fromPartialWord64s :: Traversable f => f (Word64, Count) -> ParensSeq Source #