@@ -7,19 +7,11 @@
77
88# `$% "buscen"`
99
10−`[%bscn p=(list [[aura @] spec])]`: structure which recognizes a union tagged by head atom.
11−
12−## Normalizes to
13−
14−For any item `i` in `p`, a cell whose head is the atom `q.p.i.p`,
15−and whose tail recognizes `q.i.p`.
16−
17−Void if `p` is empty.
10+`[%bscn p=(list spec)]`: structure which recognizes a union tagged by head atom.
1811
1912## Defaults to
2013
21−For the first item `i` in `p`, the cell `[q.p.i.p $:q.i.p]`.
22−Crashes if `p` is empty.
14+The default of the last item `i` in `p`. Crashes if `p` is empty.
2315
2416## Syntax
2517
@@ -27,7 +19,7 @@ Regular form: *2-running*.
2719
2820## Discussion
2921
30−A `$%` ("buscen") is a tagged union, an extremely common data model.
22+A `$%` is a tagged union, a common data model.
3123
3224Make sure the first item in your `$%` terminates, or the default will
3325be an infinite loop!
@@ -35,10 +27,10 @@ be an infinite loop!
3527## Examples
3628
3729```
38−~zod:dojo> =foo $%([%foo p=@ud q=@ud] [%bar p=@ud])
30+~zod:dojo> =foo $%([%foo p=@ud q=@ud] [%baz p=@ud])
3931
40−~zod:dojo> (foo [%bar 37])
41−[%bar p=37]
32+~zod:dojo> (foo [%baz 37])
33+[%baz p=37]
4234
4335~zod:dojo> $:foo
4436[%foo p=0 q=0]~