Pdb.elem_from_name: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/pdb.bend as Pdb Lines 222-227 of bend-prot@0.1.0.0/pdb.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/pdb.bend&start_line=222&end_line=227 import Base def elem_from_name(n: String) -> U32: match n: case SNil{}: 0 case SCon{h, t}: elem_1(Char.to_upper(h)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.to_upper 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-prot@0.1.0.0/pdb.bend&name=elem_1