2 ms·
I'd also recommend Chris Okasaki's book Purely Functional Data Structures if you want to learn more. He has a whole section that goes in depth about the equiva
by nostrademons 19y ago
I'd also recommend Chris Okasaki's book Purely Functional Data Structures if you want to learn more. He has a whole section that goes in depth about the equivalence and has several examples, including implementations in Ocaml and Haskell.