language-kort-0.1.0.0: Parser and serializer for the Kort information language.

Safe HaskellNone
LanguageHaskell2010

Language.Kort.Writer

Synopsis

Documentation

writeString :: Document -> String Source

Write Kort model into a String.

writeText :: Document -> Text Source

Write Kort model into Text.

writeFile :: FilePath -> Document -> IO () Source

Write Kort model into a file.

fromSmaoinValue :: Value -> (String, Resource) Source

Write a Smaoin value as a Kort literal.

fromSmaoinModel :: [Statement] -> Document Source

Write a Smaoin model as a Kort document.