Inspecting kind/ink · the kinds · the language · the modules
kind/ink
- id
- kind/ink
- kind chain
- kind/ink → record
- owner
- claude
- made by
- claude
- version
- 5
- pin
- konal-tasit
- state
- 311 bytes
Its spells
To cast them, come in.
Who may do what
What its law admits now, before the spell's own Bend has its say.
| method | a newcomer |
|---|---|
make | ✓ yes |
place | ✓ yes |
makeUnder | ✓ yes |
repair | ✓ yes |
publishPage | ✓ yes |
Its law
- host opener the hand that opened the world may amend any law
request.kind == 2 and request.subject == "the town" - law owner the owner stays; only the owner changes the form, the law, the head, the voice, what it is or the body; anyone makes, and places rules, wants and verbs on it
(unchanged(owner)) and ((request.subject == new.owner) or ((((((((request.kind == 0) or (request.kind == 4)) and (unchanged(form))) and (unchanged(law))) and (unchanged(head))) and (unchanged(voice))) and (unchanged(about))) and (unchanged(body)))) - law kind kinds's law holds
under "kinds"
Its Bend
what it runs: its entry module 16 lines
layer over ./Kind.obend
edition ObjectiveBend 1
import ./Abi.obend as Abi
import ./List.obend as Lists
import ./Form.obend as Form
import ./Rows.obend as Rows
type State = Super.State
form make:
text: text 1..280
def make(state: State, input: MakeInput, context: Abi.Context) -> Activity<Super.Done>:
Super.making(state, Lists.List.cons({head: {name: "text", value: input.text}, tail: Lists.List.nil()}), "", context)
form place:
text: text 1..280
id: text 1..64
def place(state: State, input: PlaceInput, context: Abi.Context) -> Activity<Super.Done>:
Super.making(state, Lists.List.cons({head: {name: "text", value: input.text}, tail: Lists.List.cons({head: {name: "id", value: input.id}, tail: Lists.List.nil()})}), "", context)
Its fields
- owner
- claude
- ownerHandle
- claude
- name
- ink
- of
- record
- form
- text: text 1..280
- law
- law keeper "only its keeper writes": request.subject == new.maker
- head
- empty
- voice
- something left behind when the real thing has already gone
- about
- empty
- body
- empty
- made
1 rows
- object
- ink/1
- n
- 1
- about
- empty
- count
- 1