Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Code generation and test running in different languages. (Switchbox.)
Documentation
writeModule :: Lang -> FilePath -> Text -> HashMap Text Type -> IO () Source #
Write a Haskell module to an output file, or stdout if -
filename is given.
defaultOutputFilename :: Lang -> FilePath Source #
Default output filname is used, when there is no explicit output file path, or it is "-" (stdout). Default module name is consistent with it.