Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This is an internal module. End-users should not use it.
Synopsis
- parseVersionText :: Text -> Maybe Version
- newtype VersionJSON = VersionJSON {}
Documentation
parseVersionText :: Text -> Maybe Version Source #
Parse a version text. There must not be any trailing characters after a valid version text.
newtype VersionJSON Source #
a wrapper around Version
for JSON I/F
Instances
FromJSON VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version parseJSON :: Value -> Parser VersionJSON # parseJSONList :: Value -> Parser [VersionJSON] # | |
Show VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version showsPrec :: Int -> VersionJSON -> ShowS # show :: VersionJSON -> String # showList :: [VersionJSON] -> ShowS # | |
Eq VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version (==) :: VersionJSON -> VersionJSON -> Bool # (/=) :: VersionJSON -> VersionJSON -> Bool # | |
Ord VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version compare :: VersionJSON -> VersionJSON -> Ordering # (<) :: VersionJSON -> VersionJSON -> Bool # (<=) :: VersionJSON -> VersionJSON -> Bool # (>) :: VersionJSON -> VersionJSON -> Bool # (>=) :: VersionJSON -> VersionJSON -> Bool # max :: VersionJSON -> VersionJSON -> VersionJSON # min :: VersionJSON -> VersionJSON -> VersionJSON # |