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(pmt_t x, pmt_t y) → bool

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

pmt.equal(pmt_t x, pmt_t 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(pmt_t x, pmt_t y) → bool

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

pmt.length(pmt_t v) → size_t

Return the number of elements in v.

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

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(pmt_t obj, pmt_t alist) → pmt_t

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(pmt_t obj, pmt_t alist) → pmt_t

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