Migrate.Record.problem: def of bend-kit-migrate@0.3.0.0 Import: import bend-kit-migrate@0.3.0.0/migrate.bend as Migrate Lines 112-120 of bend-kit-migrate@0.3.0.0/migrate.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&start_line=112&end_line=120 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes # The record back, and the first business rule it breaks. def Record.problem(r: Record) -> Record & Maybe<&2, Key>: match r: case R1{V1{i, Bytes.Bytes{+len, buf}, +c, a}}: (R1{V1{i, Bytes.Bytes{len, buf}, c, a}}, Terms.problem(len, c)) case R2{V2{i, Bytes.Bytes{+len, buf}, +c, pe, s, n}}: (R2{V2{i, Bytes.Bytes{len, buf}, c, pe, s, n}}, Terms.problem(len, c)) case R3{V3{i, Bytes.Bytes{+len, buf}, +c, pe, s}}: (R3{V3{i, Bytes.Bytes{len, buf}, c, pe, s}}, Terms.problem(len, c)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=Key https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=Record https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=Terms.problem https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=V1 https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=V2 https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=V3