Unseal the family atomics

A reactor runs in the write that changes its inputs, so its result is visible as soon as the write returns. This step adds two mutations that record the three threats to a house, and a reactor that reads those threats.

Add these mutations to definitions/dune/houses.dust, before the export form.

TRON1.1 kB
Offset (hex)Bytes (hex)Meaning
00054 52 4F 4Emagic TRON
0046C 236C6F63616Ctxt "#local"
00B6C 626574726179txt "betray"
0120F 0A 04000000 0B00 0000map leaf, size 10: @4 → @B
01C6C 236C6F63616Ctxt "#local"
0234C 6E616D65txt "name"
0280F 0A 1C000000 2300 0000map leaf, size 10: @1C → @23
0320E 0D 00 0100 010000 00 28000000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @28
03F6C 236C6F63616Ctxt "#local"
0467C 737472696E673Ftxt "string?"
04E0F 0A 3F000000 4600 0000map leaf, size 10: @3F → @46
0586C 236C6F63616Ctxt "#local"
05F2C 3D3Etxt "=>"
0620F 0A 58000000 5F00 0000map leaf, size 10: @58 → @5F
06C6C 236C6F63616Ctxt "#local"
0734C 6D61703Ftxt "map?"
0780F 0A 6C000000 7300 0000map leaf, size 10: @6C → @73
0820E 15 00 0700 030000 00 4E000000 620000 00 78000000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @4E → @62 → @78
0976C 236C6F63616Ctxt "#local"
09E6C 3F686F757365txt "?house"
0A50F 0A 97000000 9E00 0000map leaf, size 10: @97 → @9E
0AF0E 0D 00 0100 010000 00 A5000000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @A5
0BC6C 236C6F63616Ctxt "#local"
0C36C 3F686F757365txt "?house"
0CA0F 0A BC000000 C300 0000map leaf, size 10: @BC → @C3
0D46C 236C6F63616Ctxt "#local"
0DB4C 6E616D65txt "name"
0E00F 0A D4000000 DB00 0000map leaf, size 10: @D4 → @DB
0EA6C 236C6F63616Ctxt "#local"
0F14C 6E616D65txt "name"
0F60F 0A EA000000 F100 0000map leaf, size 10: @EA → @F1
1000E 15 00 0700 030000 00 CA000000 E00000 00 F6000000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @CA → @E0 → @F6
Show all 111 nodes
Offset (hex)Bytes (hex)Meaning
1150E 0D 00 0100 010000 00 00010000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @100
1225C 7768657265txt "where"
1280F 0A 22010000 1501 0000map leaf, size 10: @122 → @115
1324C 66696E64txt "find"
1370F 0A 32010000 AF00 0000map leaf, size 10: @132 → @AF
14107 0E 0A000000 2801 0000 37010000map branch, size 14, depth 0 (root), slots 1, 3: @128 → @137
14F8C 62657472617965 64txt "betrayed"
15809bit true
1590F 0A 4F010000 5801 0000map leaf, size 10: @14F → @158
1636C 3F686F757365txt "?house"
16A0F 0A 63010000 5901 0000map leaf, size 10: @163 → @159
1745C 7175657279txt "query"
17A0F 0A 74010000 4101 0000map leaf, size 10: @174 → @141
1845C 7061746368txt "patch"
18A0F 0A 84010000 6A01 0000map leaf, size 10: @184 → @16A
19407 0E 40020000 7A01 0000 8A010000map branch, size 14, depth 2, slots 6, 9: @17A → @18A
1A207 0A 01000000 9401 0000map branch, size 10, depth 1, slots 0: @194
1AC07 0A 80000000 A201 0000map branch, size 10, depth 0 (root), slots 7: @1A2
1B6BC 6465666D757461 74696F6Etxt "defmutation"
1C20E 1D 00 1F00 050000 00 B6010000 120000 00 32000000 820000 00 AC010000array leaf, size 29, shift 0, bitmap 001F, count 5 (root): @1B6 → @12 → @32 → @82 → @1AC
1DF7C 23696E766F6B65txt "#invoke"
1E70F 0A DF010000 C201 0000map leaf, size 10: @1DF → @1C2
1F16C 236C6F63616Ctxt "#local"
1F86C 696E76616465txt "invade"
1FF0F 0A F1010000 F801 0000map leaf, size 10: @1F1 → @1F8
2096C 236C6F63616Ctxt "#local"
2104C 6E616D65txt "name"
2150F 0A 09020000 1002 0000map leaf, size 10: @209 → @210
21F0E 0D 00 0100 010000 00 15020000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @215
22C6C 236C6F63616Ctxt "#local"
2337C 737472696E673Ftxt "string?"
23B0F 0A 2C020000 3302 0000map leaf, size 10: @22C → @233
2456C 236C6F63616Ctxt "#local"
24C2C 3D3Etxt "=>"
24F0F 0A 45020000 4C02 0000map leaf, size 10: @245 → @24C
2596C 236C6F63616Ctxt "#local"
2604C 6D61703Ftxt "map?"
2650F 0A 59020000 6002 0000map leaf, size 10: @259 → @260
26F0E 15 00 0700 030000 00 3B020000 4F0200 00 65020000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @23B → @24F → @265
2846C 236C6F63616Ctxt "#local"
28B6C 3F686F757365txt "?house"
2920F 0A 84020000 8B02 0000map leaf, size 10: @284 → @28B
29C0E 0D 00 0100 010000 00 92020000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @292
2A96C 236C6F63616Ctxt "#local"
2B06C 3F686F757365txt "?house"
2B70F 0A A9020000 B002 0000map leaf, size 10: @2A9 → @2B0
2C16C 236C6F63616Ctxt "#local"
2C84C 6E616D65txt "name"
2CD0F 0A C1020000 C802 0000map leaf, size 10: @2C1 → @2C8
2D76C 236C6F63616Ctxt "#local"
2DE4C 6E616D65txt "name"
2E30F 0A D7020000 DE02 0000map leaf, size 10: @2D7 → @2DE
2ED0E 15 00 0700 030000 00 B7020000 CD0200 00 E3020000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @2B7 → @2CD → @2E3
3020E 0D 00 0100 010000 00 ED020000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @2ED
30F5C 7768657265txt "where"
3150F 0A 0F030000 0203 0000map leaf, size 10: @30F → @302
31F4C 66696E64txt "find"
3240F 0A 1F030000 9C02 0000map leaf, size 10: @31F → @29C
32E07 0E 0A000000 1503 0000 24030000map branch, size 14, depth 0 (root), slots 1, 3: @315 → @324
33CFC 686569722D7468 72656174656E6564txt "heir-threatened"
34C09bit true
34D0F 0A 3C030000 4C03 0000map leaf, size 10: @33C → @34C
35714 10 736172646175 6B61722D6C616E64 6564txt "sardaukar-landed"
36909bit true
36A0F 0A 57030000 6903 0000map leaf, size 10: @357 → @369
37407 0E 00420000 4D03 0000 6A030000map branch, size 14, depth 0 (root), slots 9, 14: @34D → @36A
3826C 3F686F757365txt "?house"
3890F 0A 82030000 7403 0000map leaf, size 10: @382 → @374
3935C 7175657279txt "query"
3990F 0A 93030000 2E03 0000map leaf, size 10: @393 → @32E
3A35C 7061746368txt "patch"
3A90F 0A A3030000 8903 0000map leaf, size 10: @3A3 → @389
3B307 0E 40020000 9903 0000 A9030000map branch, size 14, depth 2, slots 6, 9: @399 → @3A9
3C107 0A 01000000 B303 0000map branch, size 10, depth 1, slots 0: @3B3
3CB07 0A 80000000 C103 0000map branch, size 10, depth 0 (root), slots 7: @3C1
3D5BC 6465666D757461 74696F6Etxt "defmutation"
3E10E 1D 00 1F00 050000 00 D5030000 FF0100 00 1F020000 6F0200 00 CB030000array leaf, size 29, shift 0, bitmap 001F, count 5 (root): @3D5 → @1FF → @21F → @26F → @3CB
3FE7C 23696E766F6B65txt "#invoke"
4060F 0A FE030000 E103 0000map leaf, size 10: @3FE → @3E1
4100E 11 00 0300 020000 00 E7010000 060400 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @1E7 → @406
Offset (hex)Bytes (hex)Meaning

Each threat mutation has the parameter vector [name] and then the contract [string? => map?]. A contract gives one constraint for each parameter before =>, and one constraint for the result after it. Here, the name must be a string and the result must be a map. The SDK reads the parameter constraint, so the generated parameter is a Go string.

The body has a query member and a patch member. The clause [?house name name] reads as entity, field and value. It selects each house whose name field has the value of the name parameter. The find member [?house] makes one row for each selected house. The patch then adds its tags to the ?house of each row. betray adds <betrayed>, and invade adds <sardaukar-landed heir-threatened> in one write.

Add this reactor after the new mutations.

TRON593 B
Offset (hex)Bytes (hex)Meaning
00054 52 4F 4Emagic TRON
0046C 236C6F63616Ctxt "#local"
00BEC 66616D696C792D 61746F6D696373txt "family-atomics"
01A0F 0A 04000000 0B00 0000map leaf, size 10: @4 → @B
0246C 236C6F63616Ctxt "#local"
02B6C 3F686F757365txt "?house"
0320F 0A 24000000 2B00 0000map leaf, size 10: @24 → @2B
03C0E 0D 00 0100 010000 00 32000000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @32
0496C 236C6F63616Ctxt "#local"
0506C 3F686F757365txt "?house"
0570F 0A 49000000 5000 0000map leaf, size 10: @49 → @50
061FC 686569722D7468 72656174656E6564txt "heir-threatened"
07109bit true
0720F 0A 61000000 7100 0000map leaf, size 10: @61 → @71
07C8C 62657472617965 64txt "betrayed"
08509bit true
0860F 0A 7C000000 8500 0000map leaf, size 10: @7C → @85
09014 10 736172646175 6B61722D6C616E64 6564txt "sardaukar-landed"
0A209bit true
0A30F 0A 90000000 A200 0000map leaf, size 10: @90 → @A2
0AD07 12 00520000 7200 0000 86000000 A300 0000map branch, size 18, depth 0 (root), slots 9, 12, 14: @72 → @86 → @A3
0BF0E 11 00 0300 020000 00 57000000 AD0000 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @57 → @AD
0D00E 0D 00 0100 010000 00 BF000000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @BF
0DD5C 7768657265txt "where"
0E30F 0A DD000000 D000 0000map leaf, size 10: @DD → @D0
0ED4C 66696E64txt "find"
0F20F 0A ED000000 3C00 0000map leaf, size 10: @ED → @3C
0FC07 0E 0A000000 E300 0000 F2000000map branch, size 14, depth 0 (root), slots 1, 3: @E3 → @F2
10A8C 756E7365616C65 64txt "unsealed"
11309bit true
1140F 0A 0A010000 1301 0000map leaf, size 10: @10A → @113
11E6C 3F686F757365txt "?house"
Show all 49 nodes
Offset (hex)Bytes (hex)Meaning
1250F 0A 1E010000 1401 0000map leaf, size 10: @11E → @114
12F5C 7175657279txt "query"
1350F 0A 2F010000 FC00 0000map leaf, size 10: @12F → @FC
13F5C 7061746368txt "patch"
1450F 0A 3F010000 2501 0000map leaf, size 10: @13F → @125
14F07 0E 40020000 3501 0000 45010000map branch, size 14, depth 2, slots 6, 9: @135 → @145
15D07 0A 01000000 4F01 0000map branch, size 10, depth 1, slots 0: @14F
16707 0A 80000000 5D01 0000map branch, size 10, depth 0 (root), slots 7: @15D
171AC 64656672656163 746F72txt "defreactor"
17C0E 15 00 0700 030000 00 71010000 1A0000 00 67010000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @171 → @1A → @167
1917C 23696E766F6B65txt "#invoke"
1990F 0A 91010000 7C01 0000map leaf, size 10: @191 → @17C
1A36C 2476616C7565txt "$value"
1AA0F 0A A3010000 9901 0000map leaf, size 10: @1A3 → @199
1B48C 24636F6D6D656E 74txt "$comment"
1BD14 72 7B22223A223B 2041206265747261 79656420686F7573 652077686F736520 6865697220697320 746872656174656E 6564207768696C65 205361726461756B 617220617265206F 6E206974735C6E3B 20776F726C642075 6E7365616C732074 68652066616D696C 792061746F6D6963 732E227Dtxt "{\"\":\"; A betrayed house …"
2310F 0A B4010000 BD01 0000map leaf, size 10: @1B4 → @1BD
23B07 0E 60000000 AA01 0000 31020000map branch, size 14, depth 0 (root), slots 5, 6: @1AA → @231
Offset (hex)Bytes (hex)Meaning

defreactor has a name and a body map, and no parameters. The ;; lines above it are a comment. The clause [?house <betrayed sardaukar-landed heir-threatened>] selects each house that has all three tags. The patch adds the unsealed tag to each selected house.

The database runs the reactor in each write that changes a field that the reactor reads or writes. The changes of the reactor commit in the same transaction as that write. The export form does not name the reactor, so the SDK has no method for it. The defreactor reference gives its priority setting and the sequence of its rounds.

Replace the export form with this form, so that the SDK can call the new mutations.

TRON169 B
Offset (hex)Bytes (hex)Meaning
0054 52 4F 4Emagic TRON
046C 236C6F63616Ctxt "#local"
0BDC 61746F6D696373 2D666F756E64txt "atomics-found"
190F 0A 04000000 0B00 0000map leaf, size 10: @4 → @B
236C 236C6F63616Ctxt "#local"
2A6C 626574726179txt "betray"
310F 0A 23000000 2A00 0000map leaf, size 10: @23 → @2A
3B6C 236C6F63616Ctxt "#local"
426C 696E76616465txt "invade"
490F 0A 3B000000 4200 0000map leaf, size 10: @3B → @42
536C 236C6F63616Ctxt "#local"
5A6C 686F75736573txt "houses"
610F 0A 53000000 5A00 0000map leaf, size 10: @53 → @5A
6B6C 6578706F7274txt "export"
720E 1D 00 1F00 050000 00 6B000000 190000 00 31000000 490000 00 61000000array leaf, size 29, shift 0, bitmap 001F, count 5 (root): @6B → @19 → @31 → @49 → @61
8F7C 23696E766F6B65txt "#invoke"
970F 0A 8F000000 7200 0000map leaf, size 10: @8F → @72

Run go run ./seed again. It saves the changed namespace and generates the SDK again with the Betray and Invade methods. The database does not run the new reactor on the houses that are in the database at that time. The reactor runs only in subsequent writes that change a tag that it reads or writes.

Create atomics/main.go with this program. It betrays House Atreides and then invades it. After each write, it reads the house through Houses. It then prints the stats that db.Reactors() returns for each saved reactor: the rounds that ran it and the fields that it changed since the database opened.

go969 B
package main

import (
	"fmt"
	"log"

	"example.com/quickstart/sdk"
)

func main() {
	db, err := sdk.Open(sdk.Config{Plugins: &sdk.Plugins{
		Stdlib: true,
		Database: &sdk.DatabaseSettings{Path: "dune.db"},
	}})
	if err != nil {
		log.Fatal(err)
	}
	defer db.Close()
	steps := []struct {
		event string
		apply func(string) (sdk.MutationRowsResult, error)
	}{
		{"betrayed", db.DuneHouses.Betray},
		{"invaded", db.DuneHouses.Invade},
	}
	for _, step := range steps {
		if _, err := step.apply("Atreides"); err != nil {
			log.Fatal(err)
		}
		houses, err := db.DuneHouses.Houses()
		if err != nil {
			log.Fatal(err)
		}
		for _, house := range houses {
			if house.Name == "Atreides" {
				fmt.Printf("%s: unsealed %t\n", step.event, house.Unsealed != nil)
			}
		}
	}
	reactors, err := db.Reactors()
	if err != nil {
		log.Fatal(err)
	}
	for _, reactor := range reactors {
		fmt.Printf("%s: %d runs, %d changes\n", reactor.Name, reactor.Runs, reactor.Changes)
	}
}

Run go run ./atomics after go run ./app. It prints:

text81 B
betrayed: unsealed false
invaded: unsealed true
family-atomics: 3 runs, 1 changes

The betrayal ran the reactor once, and its query matched no house. The invasion completed the three threats and ran the reactor twice. The first round added the unsealed tag, and the second round changed nothing.

Complete definitions

After this step, definitions/dune/houses.dust contains these forms.

TRON2.6 kB
Offset (hex)Bytes (hex)Meaning
00054 52 4F 4Emagic TRON
0046C 236C6F63616Ctxt "#local"
00BDC 61746F6D696373 2D666F756E64txt "atomics-found"
0190F 0A 04000000 0B00 0000map leaf, size 10: @4 → @B
0236C 236C6F63616Ctxt "#local"
02A4C 6E616D65txt "name"
02F0F 0A 23000000 2A00 0000map leaf, size 10: @23 → @2A
0390E 0D 00 0100 010000 00 2F000000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @2F
0466C 236C6F63616Ctxt "#local"
04D7C 737472696E673Ftxt "string?"
0550F 0A 46000000 4D00 0000map leaf, size 10: @46 → @4D
05F4C 6E616D65txt "name"
0640F 0A 5F000000 5500 0000map leaf, size 10: @5F → @55
06E6C 236C6F63616Ctxt "#local"
0754C 6E616D65txt "name"
07A0F 0A 6E000000 7500 0000map leaf, size 10: @6E → @75
0845C 686F757365txt "house"
08A09bit true
08B0F 0A 84000000 8A00 0000map leaf, size 10: @84 → @8A
0954C 6E616D65txt "name"
09A0F 0A 95000000 7A00 0000map leaf, size 10: @95 → @7A
0A407 0E 08800000 8B00 0000 9A000000map branch, size 14, depth 0 (root), slots 3, 15: @8B → @9A
0B26C 5F686F757365txt "_house"
0B90F 0A B2000000 A400 0000map leaf, size 10: @B2 → @A4
0C35C 7061746368txt "patch"
0C90F 0A C3000000 B900 0000map leaf, size 10: @C3 → @B9
0D36C 736368656D61txt "schema"
0DA0F 0A D3000000 6400 0000map leaf, size 10: @D3 → @64
0E407 0E 01040000 C900 0000 DA000000map branch, size 14, depth 1, slots 0, 10: @C9 → @DA
0F207 0A 80000000 E400 0000map branch, size 10, depth 0 (root), slots 7: @E4
0FCBC 6465666D757461 74696F6Etxt "defmutation"
1080E 19 00 0F00 040000 00 FC000000 190000 00 39000000 F20000 00array leaf, size 25, shift 0, bitmap 000F, count 4 (root): @FC → @19 → @39 → @F2
Show all 265 nodes
Offset (hex)Bytes (hex)Meaning
1217C 23696E766F6B65txt "#invoke"
1290F 0A 21010000 0801 0000map leaf, size 10: @121 → @108
1336C 236C6F63616Ctxt "#local"
13A6C 686F75736573txt "houses"
1410F 0A 33010000 3A01 0000map leaf, size 10: @133 → @13A
14B0E 09 00 0000 000000 00array leaf, size 9, shift 0, bitmap 0000, count 0 (root)
1546C 236C6F63616Ctxt "#local"
15B6C 3F686F757365txt "?house"
1620F 0A 54010000 5B01 0000map leaf, size 10: @154 → @15B
16C5C 686F757365txt "house"
17209bit true
1730F 0A 6C010000 7201 0000map leaf, size 10: @16C → @172
17D0E 11 00 0300 020000 00 62010000 730100 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @162 → @173
18E6C 236C6F63616Ctxt "#local"
1956C 736368656D61txt "schema"
19C0F 0A 8E010000 9501 0000map leaf, size 10: @18E → @195
1A66C 236C6F63616Ctxt "#local"
1AD7C 737472696E673Ftxt "string?"
1B50F 0A A6010000 AD01 0000map leaf, size 10: @1A6 → @1AD
1BF6C 236C6F63616Ctxt "#local"
1C68C 6F7074696F6E61 6Ctxt "optional"
1CF0F 0A BF010000 C601 0000map leaf, size 10: @1BF → @1C6
1D96C 236C6F63616Ctxt "#local"
1E05C 6D61796265txt "maybe"
1E60F 0A D9010000 E001 0000map leaf, size 10: @1D9 → @1E0
1F06C 236C6F63616Ctxt "#local"
1F78C 626F6F6C65616E 3Ftxt "boolean?"
2000F 0A F0010000 F701 0000map leaf, size 10: @1F0 → @1F7
20A0E 11 00 0300 020000 00 E6010000 000200 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @1E6 → @200
21B0E 11 00 0300 020000 00 CF010000 0A0200 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @1CF → @20A
22C8C 756E7365616C65 64txt "unsealed"
2350F 0A 2C020000 1B02 0000map leaf, size 10: @22C → @21B
23F4C 6E616D65txt "name"
2440F 0A 3F020000 B501 0000map leaf, size 10: @23F → @1B5
24E07 0E 10800000 3502 0000 44020000map branch, size 14, depth 0 (root), slots 4, 15: @235 → @244
25C6C 236C6F63616Ctxt "#local"
2636C 3F686F757365txt "?house"
26A0F 0A 5C020000 6302 0000map leaf, size 10: @25C → @263
2740E 15 00 0700 030000 00 9C010000 4E0200 00 6A020000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @19C → @24E → @26A
2890E 11 00 0300 020000 00 7D010000 740200 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @17D → @274
29A8C 756E7365616C65 64txt "unsealed"
2A309bit true
2A40F 0A 9A020000 A302 0000map leaf, size 10: @29A → @2A3
2AE4C 6E616D65txt "name"
2B309bit true
2B40F 0A AE020000 B302 0000map leaf, size 10: @2AE → @2B3
2BE07 0E 10800000 A402 0000 B4020000map branch, size 14, depth 0 (root), slots 4, 15: @2A4 → @2B4
2CC6C 3F686F757365txt "?house"
2D30F 0A CC020000 BE02 0000map leaf, size 10: @2CC → @2BE
2DD5C 7768657265txt "where"
2E30F 0A DD020000 8902 0000map leaf, size 10: @2DD → @289
2ED7C 70726F6A656374txt "project"
2F50F 0A ED020000 D302 0000map leaf, size 10: @2ED → @2D3
2FF07 0E 02040000 E302 0000 F5020000map branch, size 14, depth 0 (root), slots 1, 10: @2E3 → @2F5
30D8C 64656671756572 79txt "defquery"
3160E 19 00 0F00 040000 00 0D030000 410100 00 4B010000 FF0200 00array leaf, size 25, shift 0, bitmap 000F, count 4 (root): @30D → @141 → @14B → @2FF
32F7C 23696E766F6B65txt "#invoke"
3370F 0A 2F030000 1603 0000map leaf, size 10: @32F → @316
3416C 236C6F63616Ctxt "#local"
3486C 626574726179txt "betray"
34F0F 0A 41030000 4803 0000map leaf, size 10: @341 → @348
3596C 236C6F63616Ctxt "#local"
3604C 6E616D65txt "name"
3650F 0A 59030000 6003 0000map leaf, size 10: @359 → @360
36F0E 0D 00 0100 010000 00 65030000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @365
37C6C 236C6F63616Ctxt "#local"
3837C 737472696E673Ftxt "string?"
38B0F 0A 7C030000 8303 0000map leaf, size 10: @37C → @383
3956C 236C6F63616Ctxt "#local"
39C2C 3D3Etxt "=>"
39F0F 0A 95030000 9C03 0000map leaf, size 10: @395 → @39C
3A96C 236C6F63616Ctxt "#local"
3B04C 6D61703Ftxt "map?"
3B50F 0A A9030000 B003 0000map leaf, size 10: @3A9 → @3B0
3BF0E 15 00 0700 030000 00 8B030000 9F0300 00 B5030000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @38B → @39F → @3B5
3D46C 236C6F63616Ctxt "#local"
3DB6C 3F686F757365txt "?house"
3E20F 0A D4030000 DB03 0000map leaf, size 10: @3D4 → @3DB
3EC0E 0D 00 0100 010000 00 E2030000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @3E2
3F96C 236C6F63616Ctxt "#local"
4006C 3F686F757365txt "?house"
4070F 0A F9030000 0004 0000map leaf, size 10: @3F9 → @400
4116C 236C6F63616Ctxt "#local"
4184C 6E616D65txt "name"
41D0F 0A 11040000 1804 0000map leaf, size 10: @411 → @418
4276C 236C6F63616Ctxt "#local"
42E4C 6E616D65txt "name"
4330F 0A 27040000 2E04 0000map leaf, size 10: @427 → @42E
43D0E 15 00 0700 030000 00 07040000 1D0400 00 33040000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @407 → @41D → @433
4520E 0D 00 0100 010000 00 3D040000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @43D
45F5C 7768657265txt "where"
4650F 0A 5F040000 5204 0000map leaf, size 10: @45F → @452
46F4C 66696E64txt "find"
4740F 0A 6F040000 EC03 0000map leaf, size 10: @46F → @3EC
47E07 0E 0A000000 6504 0000 74040000map branch, size 14, depth 0 (root), slots 1, 3: @465 → @474
48C8C 62657472617965 64txt "betrayed"
49509bit true
4960F 0A 8C040000 9504 0000map leaf, size 10: @48C → @495
4A06C 3F686F757365txt "?house"
4A70F 0A A0040000 9604 0000map leaf, size 10: @4A0 → @496
4B15C 7175657279txt "query"
4B70F 0A B1040000 7E04 0000map leaf, size 10: @4B1 → @47E
4C15C 7061746368txt "patch"
4C70F 0A C1040000 A704 0000map leaf, size 10: @4C1 → @4A7
4D107 0E 40020000 B704 0000 C7040000map branch, size 14, depth 2, slots 6, 9: @4B7 → @4C7
4DF07 0A 01000000 D104 0000map branch, size 10, depth 1, slots 0: @4D1
4E907 0A 80000000 DF04 0000map branch, size 10, depth 0 (root), slots 7: @4DF
4F3BC 6465666D757461 74696F6Etxt "defmutation"
4FF0E 1D 00 1F00 050000 00 F3040000 4F0300 00 6F030000 BF0300 00 E9040000array leaf, size 29, shift 0, bitmap 001F, count 5 (root): @4F3 → @34F → @36F → @3BF → @4E9
51C7C 23696E766F6B65txt "#invoke"
5240F 0A 1C050000 FF04 0000map leaf, size 10: @51C → @4FF
52E6C 236C6F63616Ctxt "#local"
5356C 696E76616465txt "invade"
53C0F 0A 2E050000 3505 0000map leaf, size 10: @52E → @535
5466C 236C6F63616Ctxt "#local"
54D4C 6E616D65txt "name"
5520F 0A 46050000 4D05 0000map leaf, size 10: @546 → @54D
55C0E 0D 00 0100 010000 00 52050000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @552
5696C 236C6F63616Ctxt "#local"
5707C 737472696E673Ftxt "string?"
5780F 0A 69050000 7005 0000map leaf, size 10: @569 → @570
5826C 236C6F63616Ctxt "#local"
5892C 3D3Etxt "=>"
58C0F 0A 82050000 8905 0000map leaf, size 10: @582 → @589
5966C 236C6F63616Ctxt "#local"
59D4C 6D61703Ftxt "map?"
5A20F 0A 96050000 9D05 0000map leaf, size 10: @596 → @59D
5AC0E 15 00 0700 030000 00 78050000 8C0500 00 A2050000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @578 → @58C → @5A2
5C16C 236C6F63616Ctxt "#local"
5C86C 3F686F757365txt "?house"
5CF0F 0A C1050000 C805 0000map leaf, size 10: @5C1 → @5C8
5D90E 0D 00 0100 010000 00 CF050000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @5CF
5E66C 236C6F63616Ctxt "#local"
5ED6C 3F686F757365txt "?house"
5F40F 0A E6050000 ED05 0000map leaf, size 10: @5E6 → @5ED
5FE6C 236C6F63616Ctxt "#local"
6054C 6E616D65txt "name"
60A0F 0A FE050000 0506 0000map leaf, size 10: @5FE → @605
6146C 236C6F63616Ctxt "#local"
61B4C 6E616D65txt "name"
6200F 0A 14060000 1B06 0000map leaf, size 10: @614 → @61B
62A0E 15 00 0700 030000 00 F4050000 0A0600 00 20060000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @5F4 → @60A → @620
63F0E 0D 00 0100 010000 00 2A060000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @62A
64C5C 7768657265txt "where"
6520F 0A 4C060000 3F06 0000map leaf, size 10: @64C → @63F
65C4C 66696E64txt "find"
6610F 0A 5C060000 D905 0000map leaf, size 10: @65C → @5D9
66B07 0E 0A000000 5206 0000 61060000map branch, size 14, depth 0 (root), slots 1, 3: @652 → @661
679FC 686569722D7468 72656174656E6564txt "heir-threatened"
68909bit true
68A0F 0A 79060000 8906 0000map leaf, size 10: @679 → @689
69414 10 736172646175 6B61722D6C616E64 6564txt "sardaukar-landed"
6A609bit true
6A70F 0A 94060000 A606 0000map leaf, size 10: @694 → @6A6
6B107 0E 00420000 8A06 0000 A7060000map branch, size 14, depth 0 (root), slots 9, 14: @68A → @6A7
6BF6C 3F686F757365txt "?house"
6C60F 0A BF060000 B106 0000map leaf, size 10: @6BF → @6B1
6D05C 7175657279txt "query"
6D60F 0A D0060000 6B06 0000map leaf, size 10: @6D0 → @66B
6E05C 7061746368txt "patch"
6E60F 0A E0060000 C606 0000map leaf, size 10: @6E0 → @6C6
6F007 0E 40020000 D606 0000 E6060000map branch, size 14, depth 2, slots 6, 9: @6D6 → @6E6
6FE07 0A 01000000 F006 0000map branch, size 10, depth 1, slots 0: @6F0
70807 0A 80000000 FE06 0000map branch, size 10, depth 0 (root), slots 7: @6FE
712BC 6465666D757461 74696F6Etxt "defmutation"
71E0E 1D 00 1F00 050000 00 12070000 3C0500 00 5C050000 AC0500 00 08070000array leaf, size 29, shift 0, bitmap 001F, count 5 (root): @712 → @53C → @55C → @5AC → @708
73B7C 23696E766F6B65txt "#invoke"
7430F 0A 3B070000 1E07 0000map leaf, size 10: @73B → @71E
74D6C 236C6F63616Ctxt "#local"
754EC 66616D696C792D 61746F6D696373txt "family-atomics"
7630F 0A 4D070000 5407 0000map leaf, size 10: @74D → @754
76D6C 236C6F63616Ctxt "#local"
7746C 3F686F757365txt "?house"
77B0F 0A 6D070000 7407 0000map leaf, size 10: @76D → @774
7850E 0D 00 0100 010000 00 7B070000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @77B
7926C 236C6F63616Ctxt "#local"
7996C 3F686F757365txt "?house"
7A00F 0A 92070000 9907 0000map leaf, size 10: @792 → @799
7AAFC 686569722D7468 72656174656E6564txt "heir-threatened"
7BA09bit true
7BB0F 0A AA070000 BA07 0000map leaf, size 10: @7AA → @7BA
7C58C 62657472617965 64txt "betrayed"
7CE09bit true
7CF0F 0A C5070000 CE07 0000map leaf, size 10: @7C5 → @7CE
7D914 10 736172646175 6B61722D6C616E64 6564txt "sardaukar-landed"
7EB09bit true
7EC0F 0A D9070000 EB07 0000map leaf, size 10: @7D9 → @7EB
7F607 12 00520000 BB07 0000 CF070000 EC07 0000map branch, size 18, depth 0 (root), slots 9, 12, 14: @7BB → @7CF → @7EC
8080E 11 00 0300 020000 00 A0070000 F60700 00array leaf, size 17, shift 0, bitmap 0003, count 2 (root): @7A0 → @7F6
8190E 0D 00 0100 010000 00 08080000array leaf, size 13, shift 0, bitmap 0001, count 1 (root): @808
8265C 7768657265txt "where"
82C0F 0A 26080000 1908 0000map leaf, size 10: @826 → @819
8364C 66696E64txt "find"
83B0F 0A 36080000 8507 0000map leaf, size 10: @836 → @785
84507 0E 0A000000 2C08 0000 3B080000map branch, size 14, depth 0 (root), slots 1, 3: @82C → @83B
8538C 756E7365616C65 64txt "unsealed"
85C09bit true
85D0F 0A 53080000 5C08 0000map leaf, size 10: @853 → @85C
8676C 3F686F757365txt "?house"
86E0F 0A 67080000 5D08 0000map leaf, size 10: @867 → @85D
8785C 7175657279txt "query"
87E0F 0A 78080000 4508 0000map leaf, size 10: @878 → @845
8885C 7061746368txt "patch"
88E0F 0A 88080000 6E08 0000map leaf, size 10: @888 → @86E
89807 0E 40020000 7E08 0000 8E080000map branch, size 14, depth 2, slots 6, 9: @87E → @88E
8A607 0A 01000000 9808 0000map branch, size 10, depth 1, slots 0: @898
8B007 0A 80000000 A608 0000map branch, size 10, depth 0 (root), slots 7: @8A6
8BAAC 64656672656163 746F72txt "defreactor"
8C50E 15 00 0700 030000 00 BA080000 630700 00 B0080000array leaf, size 21, shift 0, bitmap 0007, count 3 (root): @8BA → @763 → @8B0
8DA7C 23696E766F6B65txt "#invoke"
8E20F 0A DA080000 C508 0000map leaf, size 10: @8DA → @8C5
8EC6C 236C6F63616Ctxt "#local"
8F3DC 61746F6D696373 2D666F756E64txt "atomics-found"
9010F 0A EC080000 F308 0000map leaf, size 10: @8EC → @8F3
90B6C 236C6F63616Ctxt "#local"
9126C 626574726179txt "betray"
9190F 0A 0B090000 1209 0000map leaf, size 10: @90B → @912
9236C 236C6F63616Ctxt "#local"
92A6C 696E76616465txt "invade"
9310F 0A 23090000 2A09 0000map leaf, size 10: @923 → @92A
93B6C 236C6F63616Ctxt "#local"
9426C 686F75736573txt "houses"
9490F 0A 3B090000 4209 0000map leaf, size 10: @93B → @942
9536C 6578706F7274txt "export"
95A0E 1D 00 1F00 050000 00 53090000 010900 00 19090000 310900 00 49090000array leaf, size 29, shift 0, bitmap 001F, count 5 (root): @953 → @901 → @919 → @931 → @949
9777C 23696E766F6B65txt "#invoke"
97F0F 0A 77090000 5A09 0000map leaf, size 10: @977 → @95A
9890E 21 00 3F00 060000 00 29010000 370300 00 24050000 430700 00 E2080000 7F0900 00array leaf, size 33, shift 0, bitmap 003F, count 6 (root): @129 → @337 → @524 → @743 → @8E2 → @97F
9AA6C 2476616C7565txt "$value"
9B10F 0A AA090000 8909 0000map leaf, size 10: @9AA → @989
9BB8C 24636F6D6D656E 74txt "$comment"
9C414 74 7B222F34223A 223B204120626574 726179656420686F 7573652077686F73 6520686569722069 7320746872656174 656E656420776869 6C65205361726461 756B617220617265 206F6E206974735C 6E3B20776F726C64 20756E7365616C73 207468652066616D 696C792061746F6D 6963732E227Dtxt "{\"/4\":\"; A betrayed hous…"
A3A0F 0A BB090000 C409 0000map leaf, size 10: @9BB → @9C4
A4407 0E 60000000 B109 0000 3A0A0000map branch, size 14, depth 0 (root), slots 5, 6: @9B1 → @A3A
Offset (hex)Bytes (hex)Meaning