Quick - ¥ - Last Two As Dyad

Characters: ¥

Tags: combinator

Arity: dyadic

The resulting link is dyadic, meaning it takes two arguments. Note that the arity refers to that of the resulting link, not the number of links this quick consumes.


Combine two links (that aren't part of an LCC) into one dyad.


Scanning backwards, if the chain starting at that point is not an LCC, increment a counter. Once the counter reaches two, return those links combined into a dyad.