diff options
Diffstat (limited to 'src/content/chapter2_flow_control')
-rw-r--r-- | src/content/chapter2_flow_control/lesson02_variable_patterns/text.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html b/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html index 8154979..b3e4000 100644 --- a/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html +++ b/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html @@ -1,7 +1,8 @@ <p> The case expression is the most common kind of flow control in Gleam code. It - is similar to `switch` in some other languages, but more powerful than most. -</p> + is similar to <code>switch</code> in some other languages, but more powerful + than most. +</p> <p> It allows the programmer to say "if the data has this shape then run this code", a process called called <em>pattern matching</em>. |