on master help sign in
Merge pull request #159 from Fang-/tisket-molds

Added ++quid and ++quip to the 1c mold docs.

commitbeca5e71696a3aa75206d850ea53221b51ae414a authorGalen Wolfe-Pauly <galen@office-for.com> dateThu 11 May 2017, 13:53 (9 years ago) parent44b685d91d5800
1 file changed+40
docs/hoon/library/1c.md+40
docs/hoon/library/1c.md+40
@@ -186,6 +186,46 @@ Examples
186186
187187
188188
189+***
190+### `++quid`
191+
192+For use with `=^` `:sip`.
193+
194+Mold generator. Produces a tuple of `a` and the mold of `b`.
195+
196+Source
197+------
198+
199+ ++ quid |*({a/mold b/*} {a _b}) :: mixed for sip
200+
201+Examples
202+--------
203+
204+ > *(quid @ 'hi')
205+ [0 'hi']
206+
207+
208+
209+***
210+### `++quip`
211+
212+For use with `=^` `:sip`.
213+
214+Mold generator. Produces a tuple of a list of `a` and the mold of `b`.
215+
216+Source
217+------
218+
219+ ++ quip |*({a/mold b/*} {(list a) _b}) :: list-mixed for sip
220+
221+Examples
222+--------
223+
224+ > *(quip @ 'hi')
225+ [~ 'hi']
226+
227+
228+
189229 ***
190230### `++trap`
191231