law pos_of_serial_some

bend-prot@0.1.0.0 · LAWS.bend:557

import bend-prot@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-prot@0.1.0.0/geom.bend as G
import bend-prot@0.1.0.0/protein.bend as P
import bend-prot@0.1.0.0/bonded.bend as B

557# A singleton finds its atom's position.
558law pos_of_serial_some:
559  {B.pos_of_serial([P.Atom{1, 6, G.V3{1.0, 2.0, 3.0}}], 1) == Some{G.V3{1.0, 2.0, 3.0}} : Maybe<&2, G.Vec3>}

Uses (5)

Used by (0)

No other definition uses this definition.