Hacker News new | ask | show | jobs
by throwaway81523 58 days ago
I mean there's a whole book about this, "Purely Functional Data Structures" (2009) by Chris Okasaki.