|
@@ -71,8 +71,7 @@ needs to have more that 2 whitespaces for change indent (Off-side rule) for next
|
|
|
todo add examples
|
|
|
|
|
|
|
|
|
-## 2.3 Pattern Matching that transforms into ```if .. else if .. else ..```
|
|
|
-todo think - there are ```case``` in dlang already (maybe use ```case .. of``` ?):
|
|
|
+## 2.3 Pattern Matching that transforms into ```if .. else if .. else ..``` or ```switch .. case```
|
|
|
https://dlang.org/spec/statement.html#SwitchStatement
|
|
|
https://dlang.org/spec/statement.html#case-range
|
|
|
https://tour.dlang.org/tour/uk/basics/controlling-flow
|