- Jared Klingenberger [email protected]
This program is a C library that implements a doubly-linked list. As an added twist, methods to interact with the list mimic functional programming style. For example, you can map a function over the entire list with a function passed as a parameter.
It is important to note that it is impossible to ensure truly pure functions in C, so any operations will have absolutely no guarantee of purity.
void map(llist *l, nodefunc f)
void* llist_iter(llist *l, nodeiter f)
void* llist_test(llist *l, void *q, nodetest t)