first commit

This commit is contained in:
markgerrard
2026-03-17 20:44:57 +00:00
commit e9354a7920
49 changed files with 1529 additions and 0 deletions

14
valentines-day/HINTS.md Normal file
View File

@@ -0,0 +1,14 @@
# Hints
## 1. Define the approval
- Custom types can be defined using the `pub type Name { Variant1 }` syntax.
## 4. Define the activity
- Custom types containing data can be defined using the `pub type Name { Variant1(SomeType) }` syntax.
## 5. Rate the activity
- Custom type variants can be pattern matched on using case expressions.
- If you want to add an additional condition to a pattern, you can add a guard to the pattern using the `if` keyword.