In the same spirit, I wrote some functionally-flavored extensions for GLib a few months back. https://github.com/djcb/gxlib, taking a bit of inspiration from Rust and SRFI-1.
It's fun to get some of the functional flavor, while still being very near the bare pointers.
It's fun to get some of the functional flavor, while still being very near the bare pointers.