53 lines
503 B
ReStructuredText
53 lines
503 B
ReStructuredText
--------------
|
|
|
|
take
|
|
^^^^^^
|
|
|
|
Basis Function Combinator
|
|
|
|
|
|
Expects an integer and a quote on the stack and returns the quote with
|
|
just the top n items in reverse order (because that's easier and you can
|
|
use reverse if needed.)
|
|
::
|
|
|
|
[a b c d] 2 take
|
|
----------------------
|
|
[b a]
|
|
|
|
|
|
|
|
Gentzen diagram.
|
|
|
|
|
|
Definition
|
|
~~~~~~~~~~
|
|
|
|
if not basis.
|
|
|
|
|
|
Derivation
|
|
~~~~~~~~~~
|
|
|
|
if not basis.
|
|
|
|
|
|
Source
|
|
~~~~~~~~~~
|
|
|
|
if basis
|
|
|
|
|
|
Discussion
|
|
~~~~~~~~~~
|
|
|
|
Lorem ipsum.
|
|
|
|
|
|
Crosslinks
|
|
~~~~~~~~~~
|
|
|
|
Lorem ipsum.
|
|
|
|
|