| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Tart.Format
Documentation
Constructors
| TartFile | |
Fields
| |
data OutputFormat Source #
Constructors
| FormatBinary | |
| FormatAnsiColor | |
| FormatPlain |
Instances
| Read OutputFormat Source # | |
Defined in Tart.Format Methods readsPrec :: Int -> ReadS OutputFormat readList :: ReadS [OutputFormat] readPrec :: ReadPrec OutputFormat readListPrec :: ReadPrec [OutputFormat] | |
| Show OutputFormat Source # | |
Defined in Tart.Format Methods showsPrec :: Int -> OutputFormat -> ShowS show :: OutputFormat -> String showList :: [OutputFormat] -> ShowS | |
| Eq OutputFormat Source # | |
Defined in Tart.Format | |
data TartFilePath Source #
readTartFile :: TartFilePath -> IO (Either String TartFile) Source #
writeTartFile :: OutputFormat -> TartFile -> TartFilePath -> IO () Source #
sortedCanvases :: [Int] -> [Canvas] -> [Canvas] Source #
toTartFilepath :: FilePath -> TartFilePath Source #