Skip to main content

Module sentence

Module sentence 

Expand description

History entries as sentences for the person reading this app’s history: in their locale, from the app’s catalogue on this thread and the labels of the actions it publishes.

Structs§

ThreadWords
History in this thread’s words: a step as sentence says it, and a person as a directory that knows nobody yet names them. What the history verbs below the toolkit (steps::undo) speak in for an app.

Functions§

action_label
The label this thread’s app publishes for action of a resource of kind (or of any kind, when that one has none), in the reader’s language.
learn_field_titles
Remember the titles of the fields shape lays out (and those of its nested records and items), so entries name a field by its title.
learn_labels
Remember the labels of the actions resources publish, as the app words them in the reader’s language, so entries naming them read the same.
sentence
step_summary
What a history row says about one change: what it did, else what its actor said they were doing. None when the entry says neither.
step_title
What one step did, said without anything it carried: an action by its published label (“Post a message”), never through an app’s message, which may quote an argument (the words of the message posted). What someone is doing is told to everyone here, and their words are not. None when the entry says neither what it did nor why.
with_reader
Run read with a reader in this thread’s locale and catalogues.