subject almost done, one remaining issue
commitb78c04fcc2f45945f16bc2f07b41a1e2c0ee0b41
authorHenry Ault <henry@tlon.io>
dateFri 8 Apr 2016, 10:45 (11 years ago)
parent2b772a8
docs/programming/system/subject.md+5−5
@@ -31,16 +31,16 @@ contained within the `|%`. In Hoon, we call the code executed the
3131::::::::::::::::::::::::::::::
3232|% ::
3333++ three ::
34− |= a=@ ::
35− =| b=@ ::
34+ |= a/@ ::
35+ =| b/@ ::
3636 |- ^- @u ::
3737 ?: (lth a b) ::
3838 0 ::
3939 (add b $(b (add 3 b))) ::
4040 ::
4141++ five ::
42− |= a=@ :: subject
43− =| b=@ ::
42+ |= a/@ :: subject
43+ =| b/@ ::
4444 |- ^- @ ::
4545 ?: (lte a b) ::
4646 0 ::
@@ -49,7 +49,7 @@ contained within the `|%`. In Hoon, we call the code executed the
4949 (add b $(b (add b 5))) ::
5050 ::
5151++ sum ::
52− |= a=@u ::
52+ |= a/@u ::
5353 (add (five a) (three a)) ::
5454-- ::
5555::::::::::::::::::::::::::::::