| Maintainer | Toshio Ito <debug.ito@gmail.com> |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Staversion.Internal.BuildPlan.Version
Description
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
Constructors
| VersionJSON | |
Fields | |
Instances
| FromJSON VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version | |
| Show VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version Methods showsPrec :: Int -> VersionJSON -> ShowS # show :: VersionJSON -> String # showList :: [VersionJSON] -> ShowS # | |
| Eq VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version | |
| Ord VersionJSON Source # | |
Defined in Staversion.Internal.BuildPlan.Version Methods compare :: VersionJSON -> VersionJSON -> Ordering # (<) :: VersionJSON -> VersionJSON -> Bool # (<=) :: VersionJSON -> VersionJSON -> Bool # (>) :: VersionJSON -> VersionJSON -> Bool # (>=) :: VersionJSON -> VersionJSON -> Bool # max :: VersionJSON -> VersionJSON -> VersionJSON # min :: VersionJSON -> VersionJSON -> VersionJSON # | |