Read carefully what you are quoting. It’s not the fact that you are returning tuples from functions that is problematic it’s the fact that you pattern match on them.
dbuenzli
18
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| New Tutorials on Basics of OCaml | 15 | 2178 | November 17, 2023 | |
| Making OCaml Accessible and Learnable for More People | 63 | 8509 | December 16, 2019 | |
| Advantages of OCaml over Rust | 76 | 32804 | September 4, 2019 | |
| "OCaml -- first impressions" | 146 | 16016 | October 26, 2018 | |
| Help Review the new "File Manipulation" tutorial on OCaml.org | 29 | 2250 | April 17, 2024 |