on master help sign in
Fixed incorrect documentation for +-rep:in.
commit667d2432b73dd969a65cc9e5c197ee5daaf71912 authorFang <fang@fang.io> dateMon 6 Feb 2017, 21:11 (10 years ago) parent9694aae
1 file changed+3−5
docs/hoon/library/2h.md+3−5
docs/hoon/library/2h.md+3−5
@@ -423,16 +423,14 @@ Examples
423423
424424Accumulate
425425
426−Accumulate the elements of `a` using a gate `c` and an accumulator `b`.
426+Accumulate the elements of `a` using a gate `b`.
427427
428428Accepts
429429--------
430430
431431`a` is a `++set`.
432432
433−`b` is a noun.
434−
435−`c` is a gate.
433+`b` is a gate.
436434
437435Produces
438436--------
@@ -456,7 +454,7 @@ Examples
456454 > =a (~(gas in *(set @)) [1 2 3 ~])
457455 > a
458456 {1 3 2}
459− > (~(rep in a) 0 |=([a/@ b/@] (add a b)))
457+ > (~(rep in a) |=([a/@ b/@] (add a b)))
460458 6
461459
462460------------------------------------------------------------------------