News for hackers. Stuff that matters.
Re:Ask HN: What's the most elegant piece of code you've seen? by pillmuncher on Sunday January 31, 2016 @05:05AM (#11005898)
From Sterling and Shapiro's "The Art of Prolog" a procedure to concat two difference lists in O(1) time (from memory):

    append_dl(A - B, B - C, A - C).

There are no comments on this comment yet.