Document :port |~ "barsig"
commit9c2a95170a9509f99afb1fe43ce6324f8e79e6df
author~hoclun-rigsep <jim.amberger@gmail.com>
dateSun 12 Feb 2017, 20:09 (10 years ago)
parentdb67d4d
docs/hoon/twig/bar-core/sig-port.mdnew file+38
@@ -0,0 +1,38 @@
1+---
2+navhome: /docs
3+sort: 10
4+
5+---
6+
7+# `:port |~ "barsig"`
8+
9+`{$port p/moss q/seed}`: form an iron gate.
10+
11+## Expands to
12+
13+```
14+:iron :gate(p q)
15+```
16+
17+```
18+^| |=(p q)
19+```
20+
21+## Syntax
22+
23+Regular: *2-fixed*.
24+
25+## Discussion
26+
27+See [this discussion of core variance models](../../../advanced)
28+
29+## Examples
30+
31+```
32+~zod:dojo> :per ~ :like(:port(a/@ *@) :gate(a/* *@))
33+```
34+
35+```
36+~zod:dojo> => ~ ^+(|~(a/@ *@) |=(a/* *@))
37+<1|usl {a/@ $~}>
38+```