Crates.io | fuh-rs |
lib.rs | fuh-rs |
version | 0.1.0 |
source | src |
created_at | 2020-09-09 10:40:12.548522 |
updated_at | 2020-09-09 10:40:12.548522 |
description | Implementation of Graham Hutton's A Tutorial on the Universality and Expressiveness of Fold in Rust. |
homepage | https://github.com/hbina/fuh-rs |
repository | https://github.com/hbina/fuh-rs |
max_upload_size | |
id | 286604 |
size | 12,416 |
Implementation of Graham Hutton's A Tutorial on the Universality and Expressiveness of Fold in Rust.
fold
have the universal property, what does it say when we still need some other constructs to do meaningful computations?
For instance, we still need Vec
for growable arrays, if-else
for logic and basically all other non-fold
operations.if-else
using fold
?Iterator
instead of Vec
.