OSDN Git Service

Remove parse, no strings in base library.
[joypy/Thun.git] / docs / reference / unary.md
1 --------------------
2
3 ## unary
4
5 (Combinator)
6
7 Run a quoted program using exactly one stack value and leave the first item of the result on the stack.
8
9        ... x [P] unary
10     ---------------------
11            ... A
12
13 ### Definition
14
15     nullary popd
16
17 ### Discussion
18
19 Runs any other quoted function and returns its first result while
20 consuming exactly one item from the stack.
21
22 ### Crosslinks
23
24 [binary](#binary)
25 [nullary](#nullary)
26 [ternary](#ternary)
27