Pdb.elem_1: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/pdb.bend as Pdb Lines 159-185 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=159&end_line=185 import Base # Element symbol -> atomic number; unknown -> 0. def elem_1(h: Char) -> U32: match h: case 'H': 1 case 'B': 5 case 'C': 6 case 'N': 7 case 'O': 8 case 'F': 9 case 'P': 15 case 'S': 16 case 'K': 19 case 'V': 23 case 'I': 53 case _: 0 Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil