def slots

bolt@1.27.0.0 · src/rules/pedantic/fuel.bend:91

import bolt@1.27.0.0/src/rules/pedantic/fuel.bend as Fuel
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
import bolt@1.27.0.0/src/rules/calls.bend as Calls

91# the parameters a def's fuel may sit in: none when it returns an effect
92def slots(+sig: Tree.Node, body: Tree.Node) -> List<&2, Tree.Node>:
93  Bool.pick(List<&2, Tree.Node>, effect(sig, under(body)), [], Calls.params(sig))

Uses (6)

Used by (1)