hw-balancedparens-0.3.0.0: Balanced parentheses
HaskellWorks.Data.BalancedParens.Simple
newtype SimpleBalancedParens a Source #
Constructors
Defined in HaskellWorks.Data.BalancedParens.Simple
Methods
fmap :: (a -> b) -> SimpleBalancedParens a -> SimpleBalancedParens b #
(<$) :: a -> SimpleBalancedParens b -> SimpleBalancedParens a #
(==) :: SimpleBalancedParens a -> SimpleBalancedParens a -> Bool #
(/=) :: SimpleBalancedParens a -> SimpleBalancedParens a -> Bool #
showsPrec :: Int -> SimpleBalancedParens a -> ShowS #
show :: SimpleBalancedParens a -> String #
showList :: [SimpleBalancedParens a] -> ShowS #
bitShows :: SimpleBalancedParens a -> String -> String #
(.?.) :: SimpleBalancedParens a -> Position -> Bool #
bitLength :: SimpleBalancedParens a -> Count #
endPosition :: SimpleBalancedParens a -> Position #
select0 :: SimpleBalancedParens a -> Count -> Count #
select1 :: SimpleBalancedParens a -> Count -> Count #
rank0 :: SimpleBalancedParens a -> Count -> Count #
rank1 :: SimpleBalancedParens a -> Count -> Count #
closeAt :: SimpleBalancedParens a -> Count -> Bool Source #
findClose :: SimpleBalancedParens a -> Count -> Maybe Count Source #
openAt :: SimpleBalancedParens a -> Count -> Bool Source #
enclose :: SimpleBalancedParens a -> Count -> Maybe Count Source #
findOpen :: SimpleBalancedParens a -> Count -> Maybe Count Source #
firstChild :: SimpleBalancedParens a -> Count -> Maybe Count Source #
nextSibling :: SimpleBalancedParens a -> Count -> Maybe Count Source #
parent :: SimpleBalancedParens a -> Count -> Maybe Count Source #