Elegant and performant recursion in Rust
            
            
                
                    
                        https://recursion.wtf/posts/rust_schemes/
                    
                    
                        
                        
                            ·
                        
                        This is a post about writing elegant and performant recursive algorithms in Rust. It makes heavy use of a pattern from Haskell called recursion schemes, but you don’t need to know anything about …