Keys.unpack: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/Keys.bend as Keys Lines 23-29 of mylsm-lsm-store@0.6.0.1/src/Keys.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/Keys.bend&start_line=23&end_line=29 import Base # Total-order comparison for keys. Base's String.cmp hands the strings back # beside the verdict ((s1, s2), c); we take reusable copies and unpack via a # helper (a match cannot scrutinize the computed call directly). def unpack(pair: (String & String) & Cmp) -> Cmp: match pair: case ((_, _), c): c Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp 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=Base/base.bend&name=String