PROPOSED.bend open laws/TODOs
raw source on the hub · import hhefesto-json@1.0.0.0/PROPOSED.bend as PROPOSED
Json's laws, proposed (for the human to move into a LAWS.bend, reword or drop): PROOF.bend proves them.
2 imports
import Base import ./Json.bend as J
Laws
law run_append provedin PROOF.bendsource · line 10 · raw
@a:String -> @b:String -> @st:0xd8afce72fe33721bc84d5535590f151d/Json.js.St -> {0xd8afce72fe33721bc84d5535590f151d/Json.js.run(String.append(a, b), st) == 0xd8afce72fe33721bc84d5535590f151d/Json.js.run(b, 0xd8afce72fe33721bc84d5535590f151d/Json.js.run(a, st)) : 0xd8afce72fe33721bc84d5535590f151d/Json.js.St}The reader is a fold over the text, a character at a time: reading two pieces one after the other is reading them joined. So a text read as it comes, piece by piece, reads as the whole.