pith. machine review for the scientific record. sign in
def definition def or abbrev

escape

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  52private def escape (s : String) : String :=

proof body

Definition body.

  53  -- Minimal escaping for JSON content used here
  54  s.replace "\"" "\\\""
  55

used by (5)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (1)

Lean names referenced from this declaration's body.