json-autotype

Safe HaskellNone
LanguageHaskell2010

Main

Contents

Synopsis

Documentation

fst3 :: (t, t1, t2) -> t

Command line flags

data HFlag_suggest

Constructors

HFlagC_suggest 

Instances

data HFlag_autounify

Constructors

HFlagC_autounify 

Instances

data HFlag_test

Constructors

HFlagC_test 

Instances

Flag HFlag_test 

data HFlag_debug

Constructors

HFlagC_debug 

Instances

data HFlag_typecheck

Constructors

HFlagC_typecheck 

Instances

data HFlag_fakeFlag

Constructors

HFlagC_fakeFlag 

Instances

myTrace :: String -> IO ()

report :: Text -> IO ()

Report an error to error output.

fatal :: Text -> IO ()

Report an error and terminate the program.

typeChecking :: Type -> [FilePath] -> [Value] -> IO [FilePath]

Type checking all input files with given type, and return a list of filenames for files that passed the check.

generateHaskellFromJSONs :: [FilePath] -> FilePath -> IO ()

Take a set of JSON input filenames, Haskell output filename, and generate module parsing these JSON files.

main :: IO ()