def plan.tail

bolt@1.27.0.0 · src/syntax/bind.bend:418

import bolt@1.27.0.0/src/syntax/bind.bend as Bind
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree

418# the chain after its first node
419def plan.tail(rest: Tree.Node) -> Tree.Node:
420  match rest:
421    case Tree.NCons{_h, r}:
422      r
423    case _other:
424      Tree.NNil{}

Uses (1)

Used by (1)