News for hackers. Stuff that matters.
Re:Functional C (1997) by e12e on Sunday April 06, 2014 @01:58AM (#7539969)
That section on linked lists (cons in c and sml) was really nice. I don't think I've ever seen such clear, plain c for working with singly linked lists (which even checks the return code for malloc!).

I actually had to look up what K&R had on it, and there's a section on tree-structures -- but it ends up being cluttered (although that's justifiable in K&R -- the focus isn't just on simple example code).

Disclaimer: I don't actually know C :-)

[edit: link: http://eprints.eemcs.utwente.nl/1077/08/list.html ]

There are no comments on this comment yet.