hw-balancedparens-0.3.0.1: 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 #
Associated Types
type Rep (SimpleBalancedParens a) :: Type -> Type #
from :: SimpleBalancedParens a -> Rep (SimpleBalancedParens a) x #
to :: Rep (SimpleBalancedParens a) x -> SimpleBalancedParens a #
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 #