Îõ³h&#J!Ö;      !"#$%&'()*+,-./0123456789: Safe-Inferred!:<=>?Ûâêîòõ“,package-versionÃErrors that can occur when reading PVP version numbers from a file.package-version"General error when reading a file.package-versionError for missing version.package-versionRead/Validation error.package-version7Errors that can occur when reading PVP version numbers.package-versionError when parsing a string.package-versionValidation error.package-version:Errors that can occur when validating PVP version numbers.package-version(PVP version numbers must be at least A.B package-version'PVP version numbers cannot be negative. package-version  represents  https://pvp.haskell.org/PVP$ version numbers. It is similar to  Data.Version's  (i.e. wraps a [;] ) except:   has no .ÝWe enforce PVP's "tags must be at least A.B" invariant via the smart-constructor pattern.Trailing zeroes are ignored in <, =, >, and ?.ÔThat is, we declare an equivalence class up to trailing zeroes. In particular, the ? identity is [0] = { [0,0], [0,0,0], ... } and its >/ instance takes the greatest version (based on =).ÄNote: Because we export the underlying list in various ways, (e.g. @), <'s extensionality law, x == y ==> f x == f y Ûcan be broken. Take care that you do not rely on this law if you are using its underlying [;] (or A) representation.Examples>UnsafePackageVersion [0,0,0,0] == UnsafePackageVersion [0,0,0]True=UnsafePackageVersion [4,0,0] > UnsafePackageVersion [1,2,0,0]True UnsafePackageVersion [9,0,0]1UnsafePackageVersion {unPackageVersion = [9,0,0]} UnsafePackageVersion [0,9,0,0]/UnsafePackageVersion {unPackageVersion = [0,9]}ÑTR.readEither @PackageVersion "UnsafePackageVersion {unPackageVersion = [3,2,1]}"9Right (UnsafePackageVersion {unPackageVersion = [3,2,1]})ÍTR.readEither @PackageVersion "UnsafePackageVersion {unPackageVersion = [3]}"Left "Prelude.read: no parse" package-version package-versionpackage-versionSmart constructor for  ï. The length of the list must be > 1 to match PVP's minimal A.B. Furthermore, all digits must be non-negative.ExamplesmkPackageVersion [1,2]7Right (UnsafePackageVersion {unPackageVersion = [1,2]})mkPackageVersion [2,87,7,1]?Ûâêîòõ!—-package-versionSafely constructs a   at compile-time.Examples$$(mkPackageVersionTH [2,4,0])1UnsafePackageVersion {unPackageVersion = [2,4,0]}.package-versionUnsafe version of Â, intended to be used with known constants. Maybe you should use -?8WARNING: This function is not total. Exercise restraint!ExamplesunsafePackageVersion [1,2,3]1UnsafePackageVersion {unPackageVersion = [1,2,3]}/package-version Creates a   from G.Note: Because   does not have a H, /) is not injective even on "well-formed" G0s (i.e. non-negative and length > 1). That is, 2 . / is not an isomorphism.Examples(fromVersion (Version [2,13,0] ["alpha"]):Right (UnsafePackageVersion {unPackageVersion = [2,13,0]})fromVersion (Version [] [])!Left (ValidationErrorTooShort [])0package-versionAttempts to read a A into a  Ò. Leading and/or trailing dots will result in an error, as will the empty string.ExamplesfromString "1.4.27.3"?@ABCDBEFBEGHIJHIKHLMHINOPQRSTUHHHVWØpackage-version-0.2-inplaceData.Version.Package.InternalData.Version.PackageDataVersion Data.Version versionTags ReadFileErrorReadFileErrorGeneralReadFileErrorVersionNotFoundReadFileErrorReadStringReadStringErrorReadStringErrorParseReadStringErrorValidateValidationErrorValidationErrorTooShortValidationErrorNegativePackageVersionUnsafePackageVersionunPackageVersionMkPackageVersionmkPackageVersiontoText prettyString$fPrettyPackageVersion$fReadPackageVersion$fMonoidPackageVersion$fSemigroupPackageVersion$fOrdPackageVersion$fEqPackageVersion$fExceptionValidationError$fPrettyValidationError$fExceptionReadStringError$fPrettyReadStringError$fExceptionReadFileError$fPrettyReadFileError$fEqReadFileError$fGenericReadFileError$fShowReadFileError$fNFDataReadFileError$fEqReadStringError$fGenericReadStringError$fShowReadStringError$fNFDataReadStringError$fEqValidationError$fGenericValidationError$fShowValidationError$fNFDataValidationError$fGenericPackageVersion$fLiftBoxedRepPackageVersion$fShowPackageVersion$fNFDataPackageVersionmkPackageVersionTHunsafePackageVersion fromVersion fromStringfromText toVersiontoStringpackageVersionTHpackageVersionStringTHpackageVersionTextTHpackageVersionThrowIOpackageVersionStringIOpackageVersionTextIOpackageVersionEitherIOghc-prim GHC.TypesInt GHC.ClassesEqOrdbaseGHC.Base SemigroupMonoidGHC.ShowshowString text-1.2.5.0Data.Text.InternalTextRep_ReadFileErrorRep_ReadStringErrorRep_ValidationErrorRep_PackageVersionGHC.Exception.Type Exception