4 ms·
Your preference looks a lot like the linux-kernel list.h. (e.g. http://isis.poly.edu/kulesh/stuff/src/klist/ http://isis.poly.edu/kulesh/stuff/src/klist/). Re
by route66 16y ago
Your preference looks a lot like the linux-kernel list.h.
(e.g. http://isis.poly.edu/kulesh/stuff/src/klist/ http://isis.poly.edu/kulesh/stuff/src/klist/).
Requiring idiosyncratic setup of your list struct though.
- alexgartrell 16y agoIt's certainly inspired by list.h, but I used the same struct as the original. I just think it's crufty to pass "code" as a parameter to a function (in that I've ever really seen it done well). Of course, I'm talking only about C, as I love to overuse lambda in Python like it's my job