(acons x y a) == (cons (cons x y) a)
Return underlying boost::any.
Store in .
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 .
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 .
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 .
Return a pointer to the blob’s data.
Return the blob’s length in bytes.
If is a pair, return the car of the , otherwise raise wrong_type.
If is a pair, return the cdr of the , otherwise raise wrong_type.
Return a newly allocated pair whose car is and whose cdr is .
Create obj from portable byte-serial representation.
Provide a simple string generating interface to pmt’s deserialize function.
Return a new dictionary with associated with .
Return a new dictionary with removed.
Return true if exists in .
Return list of (key . value) pairs.
Return list of keys.
If exists in , return associated value; otherwise return .
Return a new dictionary with k=>v pairs from added.
Return list of values.
Return true if x and y are the same object; otherwise return false.
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.
Return true if x and y should normally be regarded as the same object, else false.
Return #f is val is false, else return #t.
Return a complex number constructed of the given real and imaginary parts.
Return the pmt value that represents double .
Return the pmt value that represents the integer .
Return the pmt value that represents the uint64 .
Alias for pmt_string_to_symbol.
Return true if is an any.
Return true if is a blob, othewise false.
Return true if obj is #t or #f, else return false.
return true if is a complex number, false otherwise.
Return true if is a dictionary.
return true if obj is the EOF object, otherwise return false.
Return true if obj is #f, else return true.
Return true if is an integer number, else false.
Return true if is a msg_accepter.
Return true if is the empty list, otherwise return false.
Return true if obj is any kind of number, else false.
Return true if is a pair, else false.
Return true if obj is a symbol, else false.
Return false if obj is #f, else return true.
Return true if is a tuple, othewise false.
Return true if is an uint64 number, else false.
true if is any kind of uniform numeric vector
Return true if is a vector, othewise false.
Return the number of elements in v.
Return a list of length 1 containing .
Return a list of length 2 containing , .
Return a list of length 3 containing , , .
Return a list of length 4 containing , , , .
Return a list of length 5 containing , , , , .
Return a list of length 6 containing , , , , , .
Return with added to it.
Return bool of contains .
Return with removed from it.
make an any
Make a blob given a pointer and length in bytes.
The data is copied into the blob.
Make an empty dictionary.
make a msg_accepter
Return a complex number constructed of the given real and imaginary parts.
make_tuple(swig_int_ptr e0) -> swig_int_ptr make_tuple(swig_int_ptr e0, swig_int_ptr e1) -> swig_int_ptr make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2) -> swig_int_ptr make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3) -> swig_int_ptr make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4) -> swig_int_ptr make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4,
swig_int_ptr e5) -> swig_int_ptr
Make a vector of length , with initial values set to .
Apply element-wise to the elements of list and returns a list of the results, in order.
must be a list. The dynamic order in which is applied to the elements of is unspecified.
Return the first sublist of whose car is . If does not occur in , then #f is returned. pmt::member use pmt::equal to compare with the elements of .
Return the first sublist of whose car is . If does not occur in , then #f is returned. pmt::memq use pmt::eq to compare with the elements of .
Return the first sublist of whose car is . If does not occur in , then #f is returned. pmt::memv use pmt::eqv to compare with the elements of .
Return underlying msg_accepter.
locates element of list where the car is the ‘zeroth’ element.
returns the tail of that would be obtained by calling cdr times in succession.
Proxy of C++ std::vector<(std::complex<(double)>)> class
Proxy of C++ std::vector<(std::complex<(float)>)> class
Proxy of C++ std::vector<(double)> class
Proxy of C++ std::vector<(float)> class
Proxy of C++ std::vector<(int16_t)> class
Proxy of C++ std::vector<(int32_t)> class
Proxy of C++ std::vector<(int8_t)> class
Proxy of C++ std::vector<(uint16_t)> class
Proxy of C++ std::vector<(uint32_t)> class
Proxy of C++ std::vector<(uint8_t)> class
read converts external representations of pmt objects into the objects themselves. Read returns the next object parsable from the given input port, updating port to point to the first character past the end of the external representation of the object.
If an end of file is encountered in the input before any characters are found that can begin an object, then an end of file object is returned. The port remains open, and further attempts to read will also return an end of file object. If an end of file is encountered after the beginning of an object’s external representation, but the external representation is incomplete and therefore not parsable, an error is signaled.
reverse .
must be a proper list.
destructively reverse .
must be a proper list.
Write portable byte-serial representation of to .
Provide a simple string generating interface to pmt’s serialize function.
Stores in the car field of .
Stores in the cdr field of .
Return the symbol whose name is .
Return true if every element of appears in , and false otherwise. Comparisons are done with pmt::eqv.
If a symbol, return the name of the symbol as a string. Otherwise, raise the wrong_type exception.
Return true if val is pmt::True, return false when val is pmt::PMT_F,.
If is complex, real or integer, return the closest complex<double>. Otherwise, raise the wrong_type exception.
Convert pmt to double if possible.
Returns the number closest to that is representable as a double. The argument must be a real or integer, otherwise a wrong_type exception is raised.
Convert pmt to float if possible.
This basically is to_double() with a type-cast; the PMT stores the value as a double in any case. Use this when strict typing is required.
Convert pmt to long if possible.
When represents an exact integer that fits in a long, return that integer. Else raise an exception, either wrong_type when x is not an exact integer, or out_of_range when it doesn’t fit.
If is a vector or proper list, return a tuple containing the elements of x
Convert pmt to uint64 if possible.
When represents an exact integer that fits in a uint64, return that uint64. Else raise an exception, either wrong_type when x is not an exact uint64, or out_of_range when it doesn’t fit.
Return the contents of position of . must be a valid index of .
item size in bytes if is any kind of uniform numeric vector
Store in every position of .
Return the contents of position of . must be a valid index of .
Store in position .
Write a written representation of to the given .
Return a string representation of . This is the same output as would be generated by pmt::write.