When two Tacit Links with different Arity are piped side by side, they form a link chain.
Example
+H
has the link +
with arity 2 and H
with arity 1.
This is an example of a 2-1 chain.
If 1 argument is passed then is then evaluated as n + n/2
You can read +H
as âplus itself halvedâ
If 2 arguments are passed then it is evaluated as (a+b) / 2
Chain Types
Niladic Chain
Since nilads are mostly literals, you would pass the nilad across the chain.
Monadic Chain
- If the chain starts with a nilad, bring the nilad down the chain
- Always bring the single input - denoted as
w
down the chain aswell Lets tryv
as the result on the chain+ÂČĂ
As there is no nilad, we just say v is the input.v = w
Then,v = w + w^2
for the monad+ÂČ
Then,v = (w + w^2) Ă w
Dyadic Chain
For every odd dyad in the chain, it is evaluated as (<input1> <dyad> <input2>)
If λ
is input1 and Ï
is input2.
For example: +ĂĂ·H
+
is evaluated first. (λ + p)
Ă
is evaluated next. (λ + p) Ă
Ă·
is evaluated next. (λ + p) à (λ ÷ p)
H
is evaluated next. (λ + p) à (λ ÷ p) / 2