File: .lake/packages/lean4/src/lean/lake/Lake/Util/Version.lean

full_name: Lake.SemVerCore.patch
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Nat

full_name: Lake.instReprSemVerCore
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Repr Lake.SemVerCore

full_name: Lake.SemVerCore.major
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Nat

full_name: Lake.instOrdSemVerCore
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Ord Lake.SemVerCore

full_name: Lake.SemVerCore
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Type

full_name: Lake.instInhabitedSemVerCore
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Inhabited Lake.SemVerCore

full_name: Lake.SemVerCore.minor
code: /-- The major-minor-patch triple of a [SemVer](https://semver.org/). -/
structure SemVerCore where
  major : Nat := 0
  minor : Nat := 0
  patch : Nat := 0
  deriving Inhabited, Repr, DecidableEq, Ord
goal: Nat

full_name: Lake.instLTSemVerCore
code: instance : LT SemVerCore 
goal: LT Lake.SemVerCore

full_name: Lake.instLESemVerCore
code: instance : LE SemVerCore 
goal: LE Lake.SemVerCore

full_name: Lake.instMinSemVerCore
code: instance : Min SemVerCore 
goal: Min Lake.SemVerCore

full_name: Lake.instMaxSemVerCore
code: instance : Max SemVerCore 
goal: Max Lake.SemVerCore

full_name: Lake.SemVerCore.parse
code: def SemVerCore.parse (ver : String) : Except String SemVerCore 
goal: Except String Lake.SemVerCore

full_name: Lake.SemVerCore.toString
code: protected def SemVerCore.toString (ver : SemVerCore) : String 
goal: String

full_name: Lake.instToStringSemVerCore
code: instance : ToString SemVerCore 
goal: ToString Lake.SemVerCore

full_name: Lake.instToJsonSemVerCore
code: instance : ToJson SemVerCore 
goal: Lean.ToJson Lake.SemVerCore

full_name: Lake.instFromJsonSemVerCore
code: instance : FromJson SemVerCore 
goal: Lean.FromJson Lake.SemVerCore

full_name: Lake.instToExprSemVerCore
code: instance : ToExpr SemVerCore 
goal: Lean.ToExpr Lake.SemVerCore

full_name: Lake.instInhabitedLeanVer
code: /--
A Lean-style semantic version.
A major-minor-patch triple with an optional arbitrary `-` suffix.
-/
structure LeanVer extends SemVerCore where
  specialDescr : String := ""
  deriving Inhabited, Repr, DecidableEq
goal: Inhabited Lake.LeanVer

full_name: Lake.LeanVer
code: /--
A Lean-style semantic version.
A major-minor-patch triple with an optional arbitrary `-` suffix.
-/
structure LeanVer extends SemVerCore where
  specialDescr : String := ""
  deriving Inhabited, Repr, DecidableEq
goal: Type

full_name: Lake.instReprLeanVer
code: /--
A Lean-style semantic version.
A major-minor-patch triple with an optional arbitrary `-` suffix.
-/
structure LeanVer extends SemVerCore where
  specialDescr : String := ""
  deriving Inhabited, Repr, DecidableEq
goal: Repr Lake.LeanVer

full_name: Lake.LeanVer.specialDescr
code: /--
A Lean-style semantic version.
A major-minor-patch triple with an optional arbitrary `-` suffix.
-/
structure LeanVer extends SemVerCore where
  specialDescr : String := ""
  deriving Inhabited, Repr, DecidableEq
goal: String

full_name: Lake.instCoeLeanVerSemVerCore
code: instance : Coe LeanVer SemVerCore 
goal: Coe Lake.LeanVer Lake.SemVerCore

full_name: Lake.LeanVer.ofSemVerCore
code: @[inline] protected def LeanVer.ofSemVerCore (ver : SemVerCore) : LeanVer 
goal: Lake.LeanVer

full_name: Lake.instCoeSemVerCoreLeanVer
code: instance : Coe SemVerCore LeanVer 
goal: Coe Lake.SemVerCore Lake.LeanVer

full_name: Lake.LeanVer.compare
code: protected def LeanVer.compare (a b : LeanVer) : Ordering 
goal: Ordering

full_name: Lake.instOrdLeanVer
code: instance : Ord LeanVer 
goal: Ord Lake.LeanVer

full_name: Lake.instLTLeanVer
code: instance : LT LeanVer 
goal: LT Lake.LeanVer

full_name: Lake.instLELeanVer
code: instance : LE LeanVer 
goal: LE Lake.LeanVer

full_name: Lake.instMinLeanVer
code: instance : Min LeanVer 
goal: Min Lake.LeanVer

full_name: Lake.instMaxLeanVer
code: instance : Max LeanVer 
goal: Max Lake.LeanVer

full_name: Lake.LeanVer.parse
code: def LeanVer.parse (ver : String) : Except String LeanVer 
goal: Except String Lake.LeanVer

full_name: Lake.LeanVer.toString
code: protected def LeanVer.toString (ver : LeanVer) : String 
goal: String

full_name: Lake.instToStringLeanVer
code: instance : ToString LeanVer 
goal: ToString Lake.LeanVer

full_name: Lake.instToJsonLeanVer
code: instance : ToJson LeanVer 
goal: Lean.ToJson Lake.LeanVer

full_name: Lake.instFromJsonLeanVer
code: instance : FromJson LeanVer 
goal: Lean.FromJson Lake.LeanVer

full_name: Lake.instToExprLeanVer
code: instance : ToExpr LeanVer 
goal: Lean.ToExpr Lake.LeanVer

full_name: Lake.DecodeVersion.decodeVersion
code: /-- Parses a version from a string. -/
class DecodeVersion (α : Type u) where
  decodeVersion : String → Except String α
goal: String → Except String α

full_name: Lake.DecodeVersion
code: /-- Parses a version from a string. -/
class DecodeVersion (α : Type u) where
  decodeVersion : String → Except String α
goal: Type u

full_name: Lake.instDecodeVersionSemVerCore
code: instance : DecodeVersion SemVerCore 
goal: Lake.DecodeVersion Lake.SemVerCore

full_name: Lake.instDecodeVersionLeanVer
code: instance : DecodeVersion LeanVer 
goal: Lake.DecodeVersion Lake.LeanVer

full_name: _private.«.lake».packages.lean4.src.lean.lake.Lake.Util.Version.0.Lake.toResultExpr
code: private def toResultExpr [ToExpr α] (x : Except String α) : Except String Expr 
goal: Except String Lean.Expr

full_name: Lake.verLit
code: /-- A Lake version literal. -/
scoped syntax:max (name := verLit) "v!" noWs interpolatedStr(term) : term
goal: Lean.ParserDescr

full_name: Lake.elabVerLit
code: @[term_elab verLit] def elabVerLit : TermElab 
goal: Lean.Elab.Term.TermElab