def fish_shape_arm

cli@0.2.0.0 · cli.bend:7086

import cli@0.2.0.0/cli.bend as Cli
import Base

7086def fish_shape_arm(shown: Bool, k: Nat, has: Bool, found: Maybe<&2, Slot>) ->
7087    List<&2, String>:
7088  match shown:
7089    case True{}:
7090      [String.append("        case ", Nat.show(k)),
7091        String.concat(["            echo ", Bool.pick(String, has, "1", "0"),
7092          " ", slot_shape(found)])]
7093    case False{}: []

Uses (11)

Used by (1)