1 unstable release
| 0.1.0 | Sep 9, 2020 |
|---|
#19 in #fold
12KB
228 lines
fuh-rs
Fold Universality Hutton in Rust
Implementation of Graham Hutton's A Tutorial on the Universality and Expressiveness of Fold in Rust.
TODO
- While the author claims that
foldhave the universal property, what does it say when we still need some other constructs to do meaningful computations? For instance, we still needVecfor growable arrays,if-elsefor logic and basically all other non-foldoperations. - To that point, how to do
if-elseusingfold? - Return a generic
Iteratorinstead ofVec.