Functional programming in C with macro “Higher Order Function” generators December 17, 2023 by Tarik If you are on Linux/BSD Unix, take a look at queue(3) and check into /usr/include/sys/queue.h – it’s been done before 🙂