Documentation

Comparse.Basic

class Comparse.BytesLike (Bytes : Type) :
Instances
    structure Comparse.NonExtensibleMessageFormat (Bytes : Type) [BytesLike Bytes] (a : Type) :
    Instances For
      structure Comparse.ExtensibleMessageFormat (Bytes : Type) [BytesLike Bytes] (a : Type) :
      • parse : BytesOption a
      • serialize : aBytes
      Instances For
        def Comparse.concatPrefixes {Bytes : Type} [BytesLike Bytes] (prefixes : List Bytes) (suffix : Bytes) :
        Bytes
        Equations
        Instances For
          Instances
            Instances
              Instances
                Instances
                  Instances
                    class Comparse.BytesCompatiblePred {Bytes : Type} [BytesLike Bytes] (pred : BytesProp) :
                    Instances
                      def Comparse.ExtensibleMessageFormat.wf {Bytes : Type} [BytesLike Bytes] {a : Type} (mf : ExtensibleMessageFormat Bytes a) (pred : BytesProp) (x : a) :
                      Equations
                      Instances For
                        def Comparse.NonExtensibleMessageFormat.wf {Bytes : Type} [BytesLike Bytes] {a : Type} (mf : NonExtensibleMessageFormat Bytes a) (pred : BytesProp) (x : a) :
                        Equations
                        Instances For
                          theorem Comparse.ExtensibleMessageFormat.wf_eq {Bytes : Type} [BytesLike Bytes] {a : Type} (mf : ExtensibleMessageFormat Bytes a) (pred : BytesProp) (x : a) :
                          mf.wf pred x = pred (mf.serialize x)