ghcup-0.1.18.0: ghc toolchain installer
Copyright(c) Julian Ospald 2020
LicenseLGPL-3.0
Maintainerhasufell@hasufell.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

GHCup.Version

Description

 
Synopsis

Documentation

ghcupURL :: URI Source #

This reflects the API version of the YAML.

Note that when updating this, CI requires that the file exsists AND the same file exists at 'https://www.haskell.org/ghcup/exp/ghcup-<ver>.yaml' with some newlines added.

ghcUpVer :: PVP Source #

The current ghcup version.

numericVer :: String Source #

ghcup version as numeric string.

versionToPVP :: MonadThrow m => Version -> m (PVP, Text) Source #

Convert a version to a PVP and unparsable rest.

  • - prop> v -> let (Just (pvp', r)) = versionToPVP v in pvpToVersion pvp' r === Just v