Floskell.Attoparsec

floskell-0.11.1: A flexible Haskell source code pretty printer

Safe Haskell | Safe-Inferred
Language | Haskell2010

Floskell.Attoparsec

# Documentation

data Position #

#### Instances

Instances details

Monoid Position # |
Instance details Defined in Floskell.Attoparsec Methods mempty :: Position # mappend :: Position -> Position -> Position # mconcat :: [Position] -> Position #
Semigroup Position # |
Instance details Defined in Floskell.Attoparsec Methods (<>) :: Position -> Position -> Position # sconcat :: NonEmpty Position -> Position # stimes :: Integral b => b -> Position -> Position #
Show Position # |
Instance details Defined in Floskell.Attoparsec Methods showsPrec :: Int -> Position -> ShowS # show :: Position -> String # showList :: [Position] -> ShowS #
Eq Position # |
Instance details Defined in Floskell.Attoparsec Methods (==) :: Position -> Position -> Bool # (/=) :: Position -> Position -> Bool #
Ord Position # |
Instance details Defined in Floskell.Attoparsec Methods compare :: Position -> Position -> Ordering # (<) :: Position -> Position -> Bool # (<=) :: Position -> Position -> Bool # (>) :: Position -> Position -> Bool # (>=) :: Position -> Position -> Bool # max :: Position -> Position -> Position # min :: Position -> Position -> Position #

parseOnly :: Parser a -> ByteString -> Either String a #