def ke_sim_of
import bend-prot@0.1.0.0/sim.bend as Simimport Base
104def ke_sim_of(ds: List<&2, DynAtom>) -> F32:
105 match ds:
106 case Nil{}:
107 0.0
108 case h <> t:
109 (ke_head(h) + ke_sim_of(t) : F32)
import bend-prot@0.1.0.0/sim.bend as Simimport Base
104def ke_sim_of(ds: List<&2, DynAtom>) -> F32:
105 match ds:
106 case Nil{}:
107 0.0
108 case h <> t:
109 (ke_head(h) + ke_sim_of(t) : F32)