pmt: General Functions

pmt.map pmt.reverse pmt.reverse_x pmt.acons pmt.nth pmt.nthcdr pmt.memq pmt.memv pmt.member pmt.subsetp pmt.list1 pmt.list2 pmt.list3 pmt.list4 pmt.list5 pmt.list6 pmt.list_add pmt.list_rm pmt.list_has
pmt.eq(swig_int_ptr x, swig_int_ptr y) → bool

Return true if x and y are the same object; otherwise return false.

pmt.equal(swig_int_ptr x, swig_int_ptr y) → bool

pmt::equal recursively compares the contents of pairs and vectors, applying pmt::eqv on other objects such as numbers and symbols. pmt::equal may fail to terminate if its arguments are circular data structures.

pmt.eqv(swig_int_ptr x, swig_int_ptr y) → bool

Return true if x and y should normally be regarded as the same object, else false.

pmt.length(swig_int_ptr v) → size_t

Return the number of elements in v.

pmt.assq(swig_int_ptr obj, swig_int_ptr alist) → swig_int_ptr

Find the first pair in whose car field is and return that pair.

(for “association list”) must be a list of pairs. If no pair in has as its car then #f is returned. Uses pmt::eq to compare with car fields of the pairs in .

pmt.assv(swig_int_ptr obj, swig_int_ptr alist) → swig_int_ptr

Find the first pair in whose car field is and return that pair.

(for “association list”) must be a list of pairs. If no pair in has as its car then #f is returned. Uses pmt::eqv to compare with car fields of the pairs in .

pmt.assoc(swig_int_ptr obj, swig_int_ptr alist) → swig_int_ptr

Find the first pair in whose car field is and return that pair.

(for “association list”) must be a list of pairs. If no pair in has as its car then #f is returned. Uses pmt::equal to compare with car fields of the pairs in .

Previous topic

pmt: Any

Next topic

pmt: Message Accepter

This Page