def at_a.go

bolt@1.27.0.0 · src/rules/suspicious/prefix.bend:217

import bolt@1.27.0.0/src/rules/suspicious/prefix.bend as Prefix
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

217# the take-first shape, its head read: the end, after the argument
218def at_a.go(ok: Bool, r3: List<&2, Lex.Tok>) -> Maybe<&2, String>:
219  match ok:
220    case True{}:
221      tail_a(skip(r3, SGo{0n}, []))
222    case False{}:
223      None{}

Uses (8)

Used by (1)