Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- infer :: ProgramFile A -> PureAnalysis String () DerivedDataTypeReport
- refactor :: [ProgramFile A] -> PureAnalysis String () (DerivedDataTypeReport, [Either String (ProgramFile A)])
- check :: ProgramFile A -> PureAnalysis String () DerivedDataTypeReport
- synth :: Char -> [ProgramFile A] -> PureAnalysis String () (DerivedDataTypeReport, [Either String (ProgramFile A)])
- compile :: () -> ModFiles -> ProgramFile A -> IO ModFile
- data DerivedDataTypeReport = DerivedDataTypeReport {}
- successful :: DerivedDataTypeReport -> Bool
Documentation
infer :: ProgramFile A -> PureAnalysis String () DerivedDataTypeReport Source #
Generate report about derived datatypes in given program file
refactor :: [ProgramFile A] -> PureAnalysis String () (DerivedDataTypeReport, [Either String (ProgramFile A)]) Source #
Refactor derived datatypes based on marked comments
check :: ProgramFile A -> PureAnalysis String () DerivedDataTypeReport Source #
Check annotations relating to derived datatypes in given program file
synth :: Char -> [ProgramFile A] -> PureAnalysis String () (DerivedDataTypeReport, [Either String (ProgramFile A)]) Source #
Generate and insert comments about derived datatypes
compile :: () -> ModFiles -> ProgramFile A -> IO ModFile Source #
Compile a program to a ModFile
containing derived datatype information.
data DerivedDataTypeReport Source #
Collection of information comprising a 'derived datatype' report for CamFort output purposes.
Instances
successful :: DerivedDataTypeReport -> Bool Source #
True iff no errors are reported.