On Wednesday, 31 March 2021 at 07:27:18 UTC, Jacob Carlborg wrote:
way to interact with an Optional type
is not to use pattern matching but to use algorithms like map
, each
and so on.
Interesting. Can you show some pseudocode of this? Can those algorithms be implemented as non-member functions?