PROPOSED.bend open laws/TODOs
raw source on the hub · import hhefesto-markdown@1.0.0.0/PROPOSED.bend as PROPOSED
Md's laws, proposed (for the human to move into a LAWS.bend, reword or drop): PROOF.bend proves them.
2 imports
import Base import ./Md.bend as M
Laws
law esc_inert provedin PROOF.bendsource · line 18 · raw
@s:String -> @+out:String -> {inert(0xa6a4f095f3ec4909f649f11e56aa207c/Md.md.esc(s, out)) == inert(out) : Bool}Escaped text is inert: whatever a message holds, what md.esc writes of it opens no tag and closes no attribute (written before out, it is as inert as out). So text shown as text never becomes markup it did not mean.
Definitions
def inert source · line 8 · raw
@s:String -> Bool
A text is inert when none of its characters is markup: no <, > or ".