From 3edd3a3de2500e04fc4e57c709d4667ce4689994 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 18 Jan 2024 21:51:41 +0000 Subject: Various fixes Thank you @giacomocavalieri! --- src/content/chapter2_flow_control/lesson03_string_patterns/text.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/chapter2_flow_control/lesson03_string_patterns') diff --git a/src/content/chapter2_flow_control/lesson03_string_patterns/text.html b/src/content/chapter2_flow_control/lesson03_string_patterns/text.html index 0dd3274..11e4c35 100644 --- a/src/content/chapter2_flow_control/lesson03_string_patterns/text.html +++ b/src/content/chapter2_flow_control/lesson03_string_patterns/text.html @@ -1,9 +1,9 @@

When pattern matching on strings the <> operator can be used to match on strings with a specific prefix. -

+

The pattern "hello " <> name matches any string that starts with - "hello " and asigns the rest of the string to the variable + "hello " and assigns the rest of the string to the variable name.

-- cgit v1.2.3