Documentation

EvmYul.Wheels

Equations
Instances For
    Equations
    Instances For
      @[reducible, inline]
      Equations
      Instances For
        Equations
        Instances For
          @[reducible, inline]
          Equations
          Instances For
            Equations
            Equations
            Instances For
              Equations
              Instances For
                Equations
                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    TODO(rework later to a sane version)

                    Equations
                    • One or more equations did not get rendered due to their size.
                    def Option.option {ฮฑ ฮฒ : Type} (dflt : ฮฒ) (f : ฮฑ โ†’ ฮฒ) :
                    Option ฮฑ โ†’ ฮฒ
                    Equations
                    Instances For
                      def Option.toExceptWith {ฮฑ ฮฒ : Type} (dflt : ฮฒ) (x : Option ฮฑ) :
                      Except ฮฒ ฮฑ
                      Equations
                      Instances For
                        Equations
                        Instances For
                          partial def Nat.toHex (n : โ„•) :
                          def hexOfByte (byte : UInt8) :
                          Equations
                          Instances For
                            def toHex (bytes : ByteArray) :
                            Equations
                            Instances For
                              def padLeft (n : โ„•) (s : String) :

                              Add 0s to make the hex representation valid for ByteArray.ofBlob

                              Equations
                              Instances For

                                TODO - Well this is ever so slightly unfortunate. It appears to be the case that some (all?) definitions that have C++ implementations use 64bit-width integers to hold numeric arguments.

                                When this assumption is broken, e.g. n : Nat := 2^64, the Lean (4.9.0) gives inernal out of memory error.

                                This implementation works around the issue at the price of using a slower implementation in case either of the arguments is too big.

                                Equations
                                Instances For
                                  Equations
                                  Instances For
                                    Equations
                                    Instances For
                                      Equations
                                      Instances For
                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          Equations
                                          Instances For
                                            def Blob :
                                            Equations
                                            Instances For
                                              Equations
                                              Instances For
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  def getBlob! (s : String) :
                                                  Equations
                                                  Instances For
                                                    Equations
                                                    Instances For
                                                      def ByteArray.readBytes (source : ByteArray) (start size : โ„•) :
                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        Equations
                                                        Instances For
                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            inductive ๐•‹ :
                                                            Instances For
                                                              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
                                                                  @[irreducible]
                                                                  Equations
                                                                  • One or more equations did not get rendered due to their size.
                                                                  Instances For
                                                                    @[irreducible]
                                                                    Equations
                                                                    Instances For
                                                                      Equations
                                                                      Instances For
                                                                        def ByteArray.write (source : ByteArray) (sourceAddr : โ„•) (dest : ByteArray) (destAddr len : โ„•) :
                                                                        Equations
                                                                        • One or more equations did not get rendered due to their size.
                                                                        Instances For