def show_sets

bend-osdev-caps@0.1.0.0 · check.bend:27

import bend-osdev-caps@0.1.0.0/check.bend as Check
import Base
import bend-osdev-caps@0.1.0.0/caps.bend as C

27def show_sets(s: C.CapState) -> String:
28  match s:
29    case C.CapState{p, i, e, b, a}:
30      "p=" ++ C.CapSet.show(p) ++ " i=" ++ C.CapSet.show(i) ++ " e=" ++ C.CapSet.show(e) ++ " b=" ++ C.CapSet.show(b) ++ " a=" ++ C.CapSet.show(a)

Uses (4)

Used by (1)