@[implicit_reducible]
Equations
Equations
- Ion.instBEqCoreType.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- Ion.instReprCoreType.repr Ion.CoreType.null prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.null")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.bool prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.bool")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.int prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.int")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.float prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.float")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.decimal prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.decimal")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.timestamp prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.timestamp")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.string prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.string")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.symbol prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.symbol")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.blob prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.blob")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.clob prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.clob")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.struct prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.struct")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.list prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.list")).group prec✝
- Ion.instReprCoreType.repr Ion.CoreType.sexp prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Ion.CoreType.sexp")).group prec✝
Instances For
@[implicit_reducible]
Equations
- Ion.instReprCoreType = { reprPrec := Ion.instReprCoreType.repr }
@[implicit_reducible]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Ion values.
Note. This represents most of the Ion 1.0 values, but is currently missing support for timestamps, blobs, and clob values. Those will be added at a later date.
- null {Sym Ind : Type} (tp : CoreType := CoreType.null) : IonF Sym Ind
- bool {Sym Ind : Type} (b : Bool) : IonF Sym Ind
- int {Sym Ind : Type} (i : Int) : IonF Sym Ind
- float {Sym Ind : Type} (f : Float) : IonF Sym Ind
- decimal {Sym Ind : Type} (d : Decimal) : IonF Sym Ind
- string {Sym Ind : Type} (s : String) : IonF Sym Ind
- symbol {Sym Ind : Type} (s : Sym) : IonF Sym Ind
- blob {Sym Ind : Type} (a : ByteArray) : IonF Sym Ind
- struct {Sym Ind : Type} (a : Array (Sym × Ind)) : IonF Sym Ind
- list {Sym Ind : Type} (a : Array Ind) : IonF Sym Ind
- sexp {Sym Ind : Type} (a : Array Ind) : IonF Sym Ind
- annotation {Sym Ind : Type} (annot : Array Sym) (v : Ind) : IonF Sym Ind
Instances For
@[implicit_reducible]
Equations
- Ion.instBEqIonF = { beq := Ion.instBEqIonF.beq }
@[implicit_reducible]
Equations
- Ion.instInhabitedIonF = { default := Ion.instInhabitedIonF.default }
Instances For
def
Ion.instReprIonF.repr
{Sym✝ Ind✝ : Type}
[Repr Sym✝]
[Repr Ind✝]
:
IonF Sym✝ Ind✝ → Nat → Std.Format
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- Ion.instReprIonF = { reprPrec := Ion.instReprIonF.repr }
@[implicit_reducible]
Equations
- Ion.instReprIon = { reprPrec := Ion.instReprIon.repr }
Equations
- Ion.instInhabitedIon.default = { app := default }
Instances For
@[implicit_reducible]
Equations
- Ion.instInhabitedIon = { default := Ion.instInhabitedIon.default }
@[implicit_reducible]
Equations
- Ion.instBEqIon = { beq := Ion.instBEqIon.beq }
Equations
- Ion.Ion.null tp = { app := Ion.IonF.null tp }
Instances For
Equations
- Ion.Ion.bool b = { app := Ion.IonF.bool b }
Instances For
Equations
- Ion.Ion.int i = { app := Ion.IonF.int i }
Instances For
Equations
- Ion.Ion.float f = { app := Ion.IonF.float f }
Instances For
Equations
- Ion.Ion.decimal d = { app := Ion.IonF.decimal d }
Instances For
Equations
- Ion.Ion.string s = { app := Ion.IonF.string s }
Instances For
Equations
- Ion.Ion.symbol s = { app := Ion.IonF.symbol s }
Instances For
Equations
- Ion.Ion.blob s = { app := Ion.IonF.blob s }
Instances For
Equations
- Ion.Ion.struct s = { app := Ion.IonF.struct s }
Instances For
Equations
- Ion.Ion.list a = { app := Ion.IonF.list a }
Instances For
Equations
- Ion.Ion.sexp a = { app := Ion.IonF.sexp a }
Instances For
Equations
- Ion.Ion.annotation annot v = { app := Ion.IonF.annotation annot v }
Instances For
@[implicit_reducible]
Equations
- Ion.instInhabitedSymbolId.default = { value := default }
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- Ion.instReprSymbolId = { reprPrec := Ion.instReprSymbolId.repr }
Equations
- Ion.instReprSymbolId.repr x✝ prec✝ = Std.Format.bracket "{ " (Std.Format.nil ++ Std.Format.text "value" ++ Std.Format.text " := " ++ (Std.Format.nest 9 (repr x✝.value)).group) " }"
Instances For
@[implicit_reducible]