import public Text.ILex
import public Text.Molfile.Typesrecord MGraph : Type -> TypeA molecular graph in the making.
MG : (atoms : Nat) -> Ref q (Fin (S atoms)) -> Ref q (SortedMap Nat (Fin (S atoms))) -> Ref q (Maybe (Edge (S atoms) MolBond)) -> MArray q (S atoms) (Adj (S atoms) MolBond MolAtom) -> MGraph q.atom : ({rec:0} : MGraph q) -> Ref q (Fin (S (atoms {rec:0}))).atoms : MGraph q -> Nat.bond : ({rec:0} : MGraph q) -> Ref q (Maybe (Edge (S (atoms {rec:0})) MolBond)).graph : ({rec:0} : MGraph q) -> MArray q (S (atoms {rec:0})) (Adj (S (atoms {rec:0})) MolBond MolAtom).indices : ({rec:0} : MGraph q) -> Ref q (SortedMap Nat (Fin (S (atoms {rec:0})))).atoms : MGraph q -> Natatoms : MGraph q -> Nat.atom : ({rec:0} : MGraph q) -> Ref q (Fin (S (atoms {rec:0})))atom : ({rec:0} : MGraph q) -> Ref q (Fin (S (atoms {rec:0}))).indices : ({rec:0} : MGraph q) -> Ref q (SortedMap Nat (Fin (S (atoms {rec:0}))))indices : ({rec:0} : MGraph q) -> Ref q (SortedMap Nat (Fin (S (atoms {rec:0})))).bond : ({rec:0} : MGraph q) -> Ref q (Maybe (Edge (S (atoms {rec:0})) MolBond))bond : ({rec:0} : MGraph q) -> Ref q (Maybe (Edge (S (atoms {rec:0})) MolBond)).graph : ({rec:0} : MGraph q) -> MArray q (S (atoms {rec:0})) (Adj (S (atoms {rec:0})) MolBond MolAtom)graph : ({rec:0} : MGraph q) -> MArray q (S (atoms {rec:0})) (Adj (S (atoms {rec:0})) MolBond MolAtom)mgraph : Nat -> F1 q (MGraph q)record CSTCK : Type -> TypeCK : Ref q Nat -> Ref q Nat -> Ref q (SnocList Position) -> Ref q MolLine -> Ref q MolLine -> Ref q MolLine -> Ref q (MGraph q) -> Ref q (SnocList Molfile) -> Ref q (SortedMap Nat String) -> Ref q Nat -> Ref q Bool -> Ref q SDHeader -> Ref q (SnocList StructureData) -> Ref q (Maybe (BoundedErr MolErr)) -> Ref q ByteString -> Ref q (SnocList String) -> Ref q Nat -> CSTCK q.bytes_ : CSTCK q -> Ref q ByteString.col_ : CSTCK q -> Ref q Nat.count : CSTCK q -> Ref q Nat.error_ : CSTCK q -> Ref q (Maybe (BoundedErr MolErr)).groups : CSTCK q -> Ref q (SortedMap Nat String).h1 : CSTCK q -> Ref q MolLine.h2 : CSTCK q -> Ref q MolLine.h3 : CSTCK q -> Ref q MolLine.isEmpty : CSTCK q -> Ref q Bool.line_ : CSTCK q -> Ref q Nat.mgraph : CSTCK q -> Ref q (MGraph q).pos : CSTCK q -> Ref q Nat.positions_ : CSTCK q -> Ref q (SnocList Position).sdhead : CSTCK q -> Ref q SDHeader.sdvals : CSTCK q -> Ref q (SnocList StructureData).stack_ : CSTCK q -> Ref q (SnocList Molfile).strings_ : CSTCK q -> Ref q (SnocList String).line_ : CSTCK q -> Ref q Natline_ : CSTCK q -> Ref q Nat.col_ : CSTCK q -> Ref q Natcol_ : CSTCK q -> Ref q Nat.positions_ : CSTCK q -> Ref q (SnocList Position)positions_ : CSTCK q -> Ref q (SnocList Position).h3 : CSTCK q -> Ref q MolLine.h2 : CSTCK q -> Ref q MolLine.h1 : CSTCK q -> Ref q MolLineh3 : CSTCK q -> Ref q MolLineh2 : CSTCK q -> Ref q MolLineh1 : CSTCK q -> Ref q MolLine.mgraph : CSTCK q -> Ref q (MGraph q)mgraph : CSTCK q -> Ref q (MGraph q).stack_ : CSTCK q -> Ref q (SnocList Molfile)stack_ : CSTCK q -> Ref q (SnocList Molfile).groups : CSTCK q -> Ref q (SortedMap Nat String)groups : CSTCK q -> Ref q (SortedMap Nat String).count : CSTCK q -> Ref q Natcount : CSTCK q -> Ref q Nat.isEmpty : CSTCK q -> Ref q BoolisEmpty : CSTCK q -> Ref q Bool.sdhead : CSTCK q -> Ref q SDHeadersdhead : CSTCK q -> Ref q SDHeader.sdvals : CSTCK q -> Ref q (SnocList StructureData)sdvals : CSTCK q -> Ref q (SnocList StructureData).error_ : CSTCK q -> Ref q (Maybe (BoundedErr MolErr))error_ : CSTCK q -> Ref q (Maybe (BoundedErr MolErr)).bytes_ : CSTCK q -> Ref q ByteStringbytes_ : CSTCK q -> Ref q ByteString.strings_ : CSTCK q -> Ref q (SnocList String)strings_ : CSTCK q -> Ref q (SnocList String).pos : CSTCK q -> Ref q Natpos : CSTCK q -> Ref q Natinit : F1 q (CSTCK q)