3.10. kink/FUN

The companion mod for fun vals.

3.10.1. type fun

A fun is a function value. See “Language specification” → “Kink Stack Machine (KSM)” chapter for function values.

Fun.call(Recv Args)

`call` tail-calls `Fun` with `Recv` as the recv, and `Args` as the args of the invocation.


• `Args` must be a vec.

3.10.2. FUN.is?(Val)

FUN.is? returns whether the Val is a fun.