Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
PSModule | |
|
data ImportLine Source
ImportLine | |
|
type ImportLines = Map Text ImportLine Source
printModule :: FilePath -> PSModule -> IO () Source
moduleToText :: PSModule -> Text Source
importLineToText :: ImportLine -> Text Source
sumTypeToText :: SumType -> Text Source
constructorToText :: Int -> DataConstructor -> Text Source
typeInfoToText :: TypeInfo -> Text Source
sumTypesToModules :: Modules -> [SumType] -> Modules Source
sumTypeToModule :: SumType -> Modules -> Modules Source
typesToImportLines :: ImportLines -> [TypeInfo] -> ImportLines Source