json-autotype-random-test

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.AutoType.CodeGen

Description

Wrappers for generating prologue and epilogue code in Haskell.

Synopsis

Documentation

writeHaskellModule :: FilePath -> HashMap Text Type -> IO ()

Write a Haskell module to an output file, or stdout if - filename is given.

defaultOutputFilename :: FilePath

Default output filname is used, when there is no explicit output file path, or it is "-" (stdout). Default module name is consistent with it.