JSONSourceProof.atomic_source: def of qasim-bend-kit@0.1.0.2 Import: import qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend as JSONSourceProof Lines 768-774 of qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend: https://jend.leeeet.dev/read.txt?path=qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend&start_line=768&end_line=774 import Base import qasim-bend-kit@0.1.0.2/libs/JSON.bend as J def atomic_source(atom: AtomicValue) -> List<&2, J.Lexeme>: match atom: case AtomicNull{}: J.Payload{"null"} <> Nil{} case AtomicTrue{}: J.Payload{"true"} <> Nil{} case AtomicFalse{}: J.Payload{"false"} <> Nil{} case AtomicNumber{text, _}: J.Payload{text} <> Nil{} case AtomicString{text}: J.Payload{"\"" ++ J.escape_string(text) ++ "\""} <> Nil{} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=Lexeme https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=escape_string https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend&name=AtomicValue