def row.find

cswap-bend-cli@0.1.0.0 · setwrite.bend:242

import cswap-bend-cli@0.1.0.0/setwrite.bend as Setwrite
import Base

242def row.find(+key: String, rs: List<&2, Row>) -> Maybe<&2, Row>:
243  match rs:
244    case Nil{}:
245      None{}
246    case Con{+h, t}:
247      row.find.pick(String.eq(row.key(h), key), h, row.find(key, t))

Uses (7)

Used by (1)