Huffman.size: def of bend-kit-http2@0.4.0.0 Import: import bend-kit-http2@0.4.0.0/huffman.bend as Huffman Lines 1149-1156 of bend-kit-http2@0.4.0.0/huffman.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http2@0.4.0.0/huffman.bend&start_line=1149&end_line=1156 import Base def size(s: String, +total: U32) -> Maybe<&2, U32>: match s: case SNil{}: Some{total} case SCon{Chr{c}, t}: do Maybe<&2, U32>: n: U32 <- size.one(c, total) size(t, n) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/huffman.bend&name=size.one