def places

bend-lint-rules@0.2.0.0 · lib/text/main.bend:394

import bend-lint-rules@0.2.0.0/lib/text/main.bend as BendLintRules
import Base

394# Where each requested offset is, by key (read with `Place.at`): one pass over each file asked about, whatever the
395# number of requests. `texts` holds the files' texts, by path.
396def places(texts: Map<&2, String>, requests: List<&2, Place>) -> Map<&2, Position>:
397  +groups = places.group(requests, Map.new(&2, List<&2, Placed>))
398  places.walk(Map.keys(&2, List<&2, Placed>, groups), groups, texts, Map.new(&2, Position))

Uses (10)

Used by (0)

No other definition uses this definition.