Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data FormatExpr Source #
Instances
Eq FormatExpr Source # | |
Defined in Jikka.Common.IOFormat (==) :: FormatExpr -> FormatExpr -> Bool # (/=) :: FormatExpr -> FormatExpr -> Bool # | |
Ord FormatExpr Source # | |
Defined in Jikka.Common.IOFormat compare :: FormatExpr -> FormatExpr -> Ordering # (<) :: FormatExpr -> FormatExpr -> Bool # (<=) :: FormatExpr -> FormatExpr -> Bool # (>) :: FormatExpr -> FormatExpr -> Bool # (>=) :: FormatExpr -> FormatExpr -> Bool # max :: FormatExpr -> FormatExpr -> FormatExpr # min :: FormatExpr -> FormatExpr -> FormatExpr # | |
Read FormatExpr Source # | |
Defined in Jikka.Common.IOFormat readsPrec :: Int -> ReadS FormatExpr # readList :: ReadS [FormatExpr] # readPrec :: ReadPrec FormatExpr # readListPrec :: ReadPrec [FormatExpr] # | |
Show FormatExpr Source # | |
Defined in Jikka.Common.IOFormat showsPrec :: Int -> FormatExpr -> ShowS # show :: FormatExpr -> String # showList :: [FormatExpr] -> ShowS # |
data FormatTree Source #
Instances
Eq FormatTree Source # | |
Defined in Jikka.Common.IOFormat (==) :: FormatTree -> FormatTree -> Bool # (/=) :: FormatTree -> FormatTree -> Bool # | |
Ord FormatTree Source # | |
Defined in Jikka.Common.IOFormat compare :: FormatTree -> FormatTree -> Ordering # (<) :: FormatTree -> FormatTree -> Bool # (<=) :: FormatTree -> FormatTree -> Bool # (>) :: FormatTree -> FormatTree -> Bool # (>=) :: FormatTree -> FormatTree -> Bool # max :: FormatTree -> FormatTree -> FormatTree # min :: FormatTree -> FormatTree -> FormatTree # | |
Read FormatTree Source # | |
Defined in Jikka.Common.IOFormat readsPrec :: Int -> ReadS FormatTree # readList :: ReadS [FormatTree] # readPrec :: ReadPrec FormatTree # readListPrec :: ReadPrec [FormatTree] # | |
Show FormatTree Source # | |
Defined in Jikka.Common.IOFormat showsPrec :: Int -> FormatTree -> ShowS # show :: FormatTree -> String # showList :: [FormatTree] -> ShowS # |
IOFormat | |
|
mapFormatTreeM :: Monad m => (FormatTree -> m FormatTree) -> FormatTree -> m FormatTree Source #
mapFormatTree :: (FormatTree -> FormatTree) -> FormatTree -> FormatTree Source #
normalizeIOFormat :: IOFormat -> IOFormat Source #
hasNewline :: FormatTree -> Bool Source #
formatFormatExpr :: FormatExpr -> String Source #
formatFormatTree :: FormatTree -> String Source #
formatIOFormat :: IOFormat -> String Source #
packSubscriptedVar :: String -> [String] -> FormatExpr Source #
packSubscriptedVar' :: String -> [String] -> FormatTree Source #
unpackSubscriptedVar :: MonadError Error m => FormatExpr -> m (String, [String]) Source #