Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
Classes | |
class | list |
class | sorted_list |
Functions | |
template<class T > | |
list< T > | cons (const T &h, list< T > t) |
template<class T > | |
list< T > | operator+ (const T &h, list< T > t) |
template<class T > | |
list< T > | operator+ (list< T > l1, list< T > l2) |
template<class T > | |
list< T > | make (T a[], int n) |
template<class T > | |
io::Output & | operator<< (io::Output &out, list< T > l) |
list< T > elm::imm::cons | ( | const T & | h, |
list< T > | tl | ||
) |
Build a new list node with h value and prepend it to tl.
h | Item to store in the new node. |
t | List to preprend to. |
References elm::imm::list< T >::cons().
Referenced by make(), and operator+().
list<T> elm::imm::operator+ | ( | list< T > | l1, |
list< T > | l2 | ||
) |
References elm::imm::list< T >::concat().
io::Output& elm::imm::operator<< | ( | io::Output & | out, |
list< T > | l | ||
) |
References elm::io::f(), and elm::io::out.