diff options
-rw-r--r-- | src/content/chapter3_data_types/lesson01_custom_types/en.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/chapter3_data_types/lesson01_custom_types/en.html b/src/content/chapter3_data_types/lesson01_custom_types/en.html index 3a95f9f..34e51f2 100644 --- a/src/content/chapter3_data_types/lesson01_custom_types/en.html +++ b/src/content/chapter3_data_types/lesson01_custom_types/en.html @@ -4,6 +4,7 @@ </p> <p> A custom type is defined with the <code>type</code> keyword followed by the - name of the type and a constructor for each <em>variant</em> of the type. + name of the type and a constructor for each <em>variant</em> of the type. Both + the type name and the names of the constructors start with uppercase letters. </p> <p>Custom type variants can be pattern matched on using a case expression.</p> |