on master help sign in
Merge pull request #269 from urbit/reag-edit

Add rune documentation for `=,`

commit63b60cab33bea44e2d8a1436d500fb58aba15c24 authorJoshua Reagan <joshuareagan@users.noreply.github.com> dateWed 23 May 2018, 14:40 (8 years ago) parent986a0164112789
1 file changed+33
docs/hoon/rune/tis/com.md+33
docs/hoon/rune/tis/com.mdnew file+33
@@ -0,0 +1,33 @@
1+---
2+navhome: /docs/
3+next: true
4+sort: 13
5+title: =, "tiscom"
6+---
7+
8+# `=, "tiscom"`
9+
10+`[%tscm p=hoon q=hoon]`: expose namespace
11+
12+`p` evaluates to a noun with some namespace. From within `q` you may access those
13+names without a wing path (e.g., as in for some face `b` rather than `b.p`), or without
14+invoking a core name when `p` is a core. This is especially useful for calling arms
15+from an imported library or for calling arms from an stdlib core repeatedly.
16+
17+## Syntax
18+
19+Regular: *2-fixed*.
20+
21+## Examples
22+
23+```
24+> (sum -7 --7)
25+-find.sum
26+[crash message]
27+
28+> (sum:si -7 --7)
29+--0
30+
31+> =, si (sum -7 --7)
32+--0
33+```