EdlibTypes.cigar_show: def of bend-edit-distance@0.2.2.0 Import: import bend-edit-distance@0.2.2.0/EdlibTypes.bend as EdlibTypes Lines 184-190 of bend-edit-distance@0.2.2.0/EdlibTypes.bend: https://jend.leeeet.dev/read.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&start_line=184&end_line=190 import Base # CIGAR contains only decimal counts and MID=X, so needs no JSON escaping. def cigar_show(cigar: Maybe<&2, String>) -> String: match cigar: case None{}: "null" case Some{value}: "\"" ++ value ++ "\"" Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append