module Language.Drasil.Code.Imperative.ReadMe.Import (
ReadMeInfo(..),
) where
import Language.Drasil.Mod (Name, Version)
import Language.Drasil.Choices (ImplementationType)
type LangAbbrev = String
type LangVers = String
type CaseName = String
type ExamplePurpose = String
type ExampleDescr = String
type ExampleMotivation = String
type ExampleScope = String
type Contributor = String
type InFile = String
type OutFile = String
data ReadMeInfo = ReadMeInfo {
ReadMeInfo -> LangAbbrev
langName :: LangAbbrev,
ReadMeInfo -> LangAbbrev
langVersion :: LangVers,
ReadMeInfo -> Maybe LangAbbrev
invalidOS :: Maybe String,
ReadMeInfo -> ImplementationType
implementType :: ImplementationType,
ReadMeInfo -> [(LangAbbrev, LangAbbrev)]
extLibNV :: [(Name, Version)],
ReadMeInfo -> [LangAbbrev]
extLibFP :: [FilePath],
ReadMeInfo -> [LangAbbrev]
contributors :: [Contributor],
ReadMeInfo -> [LangAbbrev]
configFP :: [FilePath],
ReadMeInfo -> LangAbbrev
caseName :: CaseName,
ReadMeInfo -> LangAbbrev
examplePurpose :: ExamplePurpose,
ReadMeInfo -> LangAbbrev
exampleDescr :: ExampleDescr,
ReadMeInfo -> LangAbbrev
exampleMotivation :: ExampleMotivation,
ReadMeInfo -> LangAbbrev
exampleScope :: ExampleScope,
ReadMeInfo -> Int
folderNum :: Int,
ReadMeInfo -> (LangAbbrev, LangAbbrev)
inputOutput :: (InFile, OutFile)
}