4 ms·
Another way to think of it is that types are first class. Here's an example I found of returning a type, although I forget where I found it. It's a version of a
by muraiki 10y ago
Another way to think of it is that types are first class. Here's an example I found of returning a type, although I forget where I found it. It's a version of a sample on the Rust page, but it now handles floats if necessary: https://paste.fedoraproject.org/paste/UTrEje4Czbiq8C0u1oJOnF5M1UNdIGYhyRLivL9gydE= https://paste.fedoraproject.org/paste/UTrEje4Czbiq8C0u1oJOnF...
- deleted 10y ago[deleted]