Documentation

Lean.Data.Json.Basic

Instances For
    Equations
    Instances For
      Equations
      Instances For
        Equations
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            Instances For
              Equations
              Equations
              Equations
              • One or more equations did not get rendered due to their size.
              • { mantissa := m, exponent := 0 }.toString = m.repr
              Instances For
                Equations
                • { mantissa := m, exponent := e }.shiftl x✝ = { mantissa := m * (10 ^ (x✝ - e)), exponent := e - x✝ }
                Instances For
                  Equations
                  • { mantissa := m, exponent := e }.shiftr x✝ = { mantissa := m, exponent := e + x✝ }
                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Equations
                    Equations
                    Instances For

                      Attempts to convert a float to a JsonNumber, if the number isn't finite returns the appropriate string from "NaN", "Infinity", "-Infinity".

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        def Lean.strLt (a b : String) :
                        Equations
                        Instances For
                          inductive Lean.Json :
                          Instances For
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              Equations
                              Equations
                              Instances For
                                Equations
                                Instances For
                                  Equations
                                  Instances For
                                    Equations
                                    Instances For
                                      Equations
                                      Instances For
                                        Equations
                                        Instances For
                                          Equations
                                          Instances For
                                            Equations
                                            Instances For
                                              Equations
                                              Instances For
                                                Equations
                                                Instances For
                                                  Equations
                                                  Instances For
                                                    Equations
                                                    Instances For

                                                      Assuming both inputs o₁, o₂ are json objects, will compute {...o₁, ...o₂}. If o₁ is not a json object, o₂ will be returned.

                                                      Equations
                                                      Instances For
                                                        Instances For