import { Atom } from './Atom' ; import { Ident } from '../idents' ; /**
 * A sorted list of Atom<T>s, used as backing storage by KSeq<T>.
 */ export interface AtomList < T > { returns size ( ) : number ; param pos returns get ( pos ) : Atom < T > ; param id param value returns add ( id , value ) : number ; param id returns remove ( id ) : number ; param id returns indexOf ( id ) : number ; param func forEach ( func ) : void ; param func returns map < R > ( func ) : R [ ] ; returns toArray ( ) : Atom < T > [ ] ; }