Force.lj_total_elem: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/force.bend as Force Lines 288-293 of bend-prot@0.1.0.0/force.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/force.bend&start_line=288&end_line=293 import Base import bend-prot@0.1.0.0/protein.bend as P def lj_total_elem(xs: List<&2, P.Atom>, +ys: List<&2, P.Atom>, +c2: F32) -> F32: match xs: case Nil{}: 0.0 case +h <> t: (lj_total_elem(t, ys, c2) + lj_row_elem(P.Atom.elem(h), P.Atom.pos(h), ys, c2) : F32) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/force.bend&name=lj_row_elem https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom.elem https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom.pos