Copyright | (c) 2020 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
stan
build information.
Synopsis
- data StanVersion = StanVersion {
- svVersion :: !String
- svGitRevision :: !String
- svCommitDate :: !String
- stanVersion :: StanVersion
- prettyStanVersion :: StanVersion -> StanSystem -> String
- data StanSystem = StanSystem {
- ssOs :: !String
- ssArch :: !String
- ssCompiler :: !String
- ssCompilerVersion :: !String
- stanSystem :: StanSystem
- data StanEnv = StanEnv {}
- data ProjectInfo = ProjectInfo {
- piName :: !String
- piCabalFiles :: ![FilePath]
- piHieDir :: !FilePath
- piFileNumber :: !Int
Version
data StanVersion Source #
stan
version information.
StanVersion | |
|
Instances
Show StanVersion Source # | |
Defined in Stan.Info showsPrec :: Int -> StanVersion -> ShowS # show :: StanVersion -> String # showList :: [StanVersion] -> ShowS # | |
Eq StanVersion Source # | |
Defined in Stan.Info (==) :: StanVersion -> StanVersion -> Bool # (/=) :: StanVersion -> StanVersion -> Bool # |
stanVersion :: StanVersion Source #
Current stan
version information.
prettyStanVersion :: StanVersion -> StanSystem -> String Source #
Colourful pretty StanVersion
representation used in the CLI
.
System
data StanSystem Source #
Contains all stan
System information
StanSystem | |
|
Instances
Show StanSystem Source # | |
Defined in Stan.Info showsPrec :: Int -> StanSystem -> ShowS # show :: StanSystem -> String # showList :: [StanSystem] -> ShowS # | |
Eq StanSystem Source # | |
Defined in Stan.Info (==) :: StanSystem -> StanSystem -> Bool # (/=) :: StanSystem -> StanSystem -> Bool # |
stanSystem :: StanSystem Source #
All system info for the project
Env
Data from different environment resources:
- Environment variables
- Used TOML configuration files
- Command Line arguments
Project Info
data ProjectInfo Source #
ProjectInfo | |
|
Instances
Show ProjectInfo Source # | |
Defined in Stan.Info showsPrec :: Int -> ProjectInfo -> ShowS # show :: ProjectInfo -> String # showList :: [ProjectInfo] -> ShowS # | |
Eq ProjectInfo Source # | |
Defined in Stan.Info (==) :: ProjectInfo -> ProjectInfo -> Bool # (/=) :: ProjectInfo -> ProjectInfo -> Bool # |