in C++ you can go a switch / case construct and omit the break in a case statement to have the execution fall though the next case.
in C#, this is done with goto case.
Can this be done in F#?
A C# example to illustrate:
switch (a)
case "a":
...
break;
case "b":
...
goto case "a"
case "c":
...
I would imagine something like:
match x with
| "a" -> ...
| "b" -> ... + goto "a"
a practical example would be a case where:
- "a" does some operation
- "b" resets a counter and then does the same operation as "a"
and you'd want to avoid code duplication, but also to put the code in an external function.