1. Basics
introduces: string , string of_ , characters_ , " " , _^_ .
includes: Instant/Distinction ( string for s , _ is _ ) .
needs: Tuples/Basics, Lists/Flat . character <= item .
- string = flat-list [character] .
- string of_ :: character* -> string (total, injective) .
- characters_ :: string -> character* (total, injective) .
- " " :: string .
- _^_ :: string, string -> string (total, associative, unit is " ") .
- _is_ :: string, string -> truth-value (total) .
(1) "" = empty-list .
(2) string of c:character* = list of c .
(3) characters s:string = items s .
(4) (s1:string)^(s2:string) = concatenation (s1, s2) .
The notation "c" abbreviates string of 'c'. Moreover, for n>=2, the notation "c1...cn" abbreviates "c1"^...^"cn".