sliceofpy-1.0.0: Python-ish slicing traversals for Haskell.
Data.Slice.Parser.Internal
newtype Parser a Source #
Constructors
Fields
Defined in Data.Slice.Parser.Internal
Methods
(>>=) :: Parser a -> (a -> Parser b) -> Parser b #
(>>) :: Parser a -> Parser b -> Parser b #
return :: a -> Parser a #
fail :: String -> Parser a #
fmap :: (a -> b) -> Parser a -> Parser b #
(<$) :: a -> Parser b -> Parser a #
pure :: a -> Parser a #
(<*>) :: Parser (a -> b) -> Parser a -> Parser b #
liftA2 :: (a -> b -> c) -> Parser a -> Parser b -> Parser c #
(*>) :: Parser a -> Parser b -> Parser b #
(<*) :: Parser a -> Parser b -> Parser a #
empty :: Parser a #
(<|>) :: Parser a -> Parser a -> Parser a #
some :: Parser a -> Parser [a] #
many :: Parser a -> Parser [a] #
parseSlice :: String -> Maybe (Maybe Int, Maybe Int, Maybe Int) Source #
slice :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceABC :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceAB :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceAC :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceBC :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceA :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceB :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceC :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
sliceEmpty :: Parser (Maybe Int, Maybe Int, Maybe Int) Source #
int :: Parser Int Source #
digit :: Parser Char Source #
char :: Char -> Parser Char Source #
string :: String -> Parser String Source #
satisfy :: (Char -> Bool) -> Parser Char Source #