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!
---
.../chapter2_flow_control/lesson09_alternative_patterns/text.html | 5 -----
1 file changed, 5 deletions(-)
(limited to 'src/content/chapter2_flow_control/lesson09_alternative_patterns/text.html')
diff --git a/src/content/chapter2_flow_control/lesson09_alternative_patterns/text.html b/src/content/chapter2_flow_control/lesson09_alternative_patterns/text.html
index 10ad731..25421f4 100644
--- a/src/content/chapter2_flow_control/lesson09_alternative_patterns/text.html
+++ b/src/content/chapter2_flow_control/lesson09_alternative_patterns/text.html
@@ -2,11 +2,6 @@
Alternative patterns can be given for a case clause using the
|
operator. If any of the patterns match then the clause matches.
-
- When matching on multiple subjects there must be the same number of patterns
- as there are subjects. Try removing one of the _,
sub-patterns to
- see the compile time error that is returned.
-
If a pattern defines a variable then all of the alternative patterns for that
clause must also define a variable with the same name and same type.
--
cgit v1.2.3