Softanza
StartFrançais
Softanza
The book · Chapter 3 · The proof of each chapter

Read the name as a sentence

This chapter has 7 cells and writes 10 promises. In each of its four editions its cells were run in one fresh process on 2026-10-08 20:15: English, 7 cells ran, 10 promises kept; Français, 7 cells ran, 10 promises kept; العربية, 7 cells ran, 10 promises kept; Hausa, 7 cells ran, 10 promises kept. The four editions make the same promises, cell for cell. No edition stores any output.

The guard

The course's guard is course_narrated.ring(opens in a new tab): it runs every chapter in all four languages, compares the promises from one edition to the next, and has every exercise prove itself on its wrong and right answers. This page asked the same questions of the same objects, in one process inside the library, at commit 0e72e2e2c. To prove this chapter alone, from your copy of the repository:

cd libraries/stzlib/base/test/education
# run course_narrated with the repository's runtime, for this chapter:
#   course_narrated read-the-name-as-a-sentence

run on 2026-10-08 20:15 inside the library at commit 4a184e6f0, in 246.4 s for the whole book · The four editions of the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

The reader stores no output, by the course's own law; this page is the record of a run, made for it. The code is shown in Haro's name: where the chapter was written before the language took its present name, the name was changed and nothing else, and the chapter was run again that way. The source link leads to the text as it was written.

The cells, run

Cell 1 · 1. The active form changes the object

Softanza
o1 = new stzString("HAxxRxO")
o1.RemoveAll("x")
? o1.Content()
#--> HARO
Output of this run
HARO

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

Cell 2 · 2. The passive form gives you a copy

Softanza
o1 = new stzString("HAxxRxO")
? o1.Removed("x")
#--> HARO
? o1.Content()
#--> HAxxRxO
Output of this run
HARO
HAxxRxO

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

Cell 3 · 3. The fluent form continues the sentence

Softanza
? Q("haxxrxo").RemoveQ("x").UppercaseQ().Spacified()
#--> H A R O
Output of this run
H A R O

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

Cell 4 · 4. A fluent sentence on an object changes it

Softanza
o1 = new stzString("haxxrxo")
? o1.RemoveQ("x").Uppercased()
#--> HARO
? o1.Content()
#--> haro
Output of this run
HARO
haro

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

Cell 5 · 5. Say "on a copy" with QC

Softanza
o1 = new stzString("haxxrxo")
? o1.RemoveQC("x").Uppercased()
#--> HARO
? o1.Content()
#--> haxxrxo
Output of this run
HARO
haxxrxo

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

Cell 6 · 6. A named parameter reads as prose

Softanza
? Q("tea, rice, tea").Replaced("tea", :With = "coffee")
#--> coffee, rice, coffee
Output of this run
coffee, rice, coffee

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

Cell 7 · 7. A question is a name that starts with Is

Softanza
? Q("bread").IsLowercase()
#--> TRUE
Output of this run
1

ran: the promise is kept · in all four editions

This cell in the chapter: English(opens in a new tab) · Français(opens in a new tab) · العربية(opens in a new tab) · Hausa(opens in a new tab)

The exercises

Every exercise proves itself: its wrong answers are refused and its right answers accepted.

ex-03-01 · Exercise 3.1 · Untouched

2 of 2 wrong answers refused, 2 of 2 right answers accepted

01-changes-the-object.ring refused · 02-forgets-the-proof.ring refused · 01-on-a-copy.ring accepted · 02-the-passive-form.ring accepted

The exercise's folder(opens in a new tab)