|
|
|
|
|
by kzrdude
1221 days ago
|
|
You should look at what you can do with the Rust type inference too, it's not too far away from Haskell, at least not superficially. For example using the return type to deduce type parameters for a method like let samples: Vec<_> = iterator.collect(); |
|