Html5ever – High-performance Browser-grade HTML5 Parser in Rust
github.com1 pointsby daffodil20 comments
foldr f x [a,b,c]
gets turned into f(a, f(b, f(c, x)))
'(:)' is list concatenation, so the result is 1 : (2 : (3 : []))
(Here we are writing list concatenation in infix notation, rather than the customary prefix notation). '[1,2,3]' is shorthand for 1 : (2 : (3: [])) in Haskell.