Documentation

TypeDB.Util

String helpers #

Small string operations used across the library, written over List Char so they do not depend on the String/String.Slice API, which changes between Lean releases.

def TypeDB.Str.padLeft (s : String) (width : Nat) (c : Char) :
Equations
Instances For

    Whether sub occurs in s.

    Equations
    Instances For

      kebab-case of a CamelCase identifier: FriendRequest ↦ friend-request.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For