OSDN Git Service

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