Thun/docs/reference/dip.md

32 lines
463 B
Markdown

------------------------------------------------------------------------
# dip
Basis Function Combinator
The dip combinator expects a quoted program on the stack and below it
some item, it hoists the item into the expression and runs the program
on the rest of the stack. :
... x [Q] dip
-------------------
... Q x
Gentzen diagram.
## Definition
if not basis.
## Derivation
if not basis.
## Source
if basis
## Discussion
## Crosslinks