OSDN Git Service

Working to clean up docs.
[joypy/Thun.git] / docs / reference / i.md
1 --------------------
2
3 ## i
4
5 (Basis Combinator)
6
7 Append a quoted expression onto the pending expression.
8
9
10        [Q] i
11     -----------
12         Q
13
14 ### Source
15
16     combo(i, [list(P)|S], S, Ei, Eo) :- append(P, Ei, Eo).
17
18 ### Discussion
19
20 This is probably the fundamental combinator.  You wind up using it in all
21 kinds of places (for example, the `x` combinator can be defined as `dup i`.)
22