diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-01-11 11:44:45 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-01-12 14:32:55 +0000 |
| commit | 0d2ac550c25550f9588ec0a1b5885169260f67d6 (patch) | |
| tree | 68d8b36a98a6d58314bf6e14aba6d8b629805d59 /examples/30-generic-structs/src | |
| parent | 7b3405d766195f50bcb69f1c17f07b45fa0516eb (diff) | |
Support local project dependencies
Diffstat (limited to 'examples/30-generic-structs/src')
| -rw-r--r-- | examples/30-generic-structs/src/HelloWorld.shed | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/30-generic-structs/src/HelloWorld.shed b/examples/30-generic-structs/src/HelloWorld.shed deleted file mode 100644 index f5a2f013..00000000 --- a/examples/30-generic-structs/src/HelloWorld.shed +++ /dev/null @@ -1,15 +0,0 @@ -pub fun main() ! Io -> Unit { - val messageParts = getMessageParts(); - print!(messageParts.part1); - print!(messageParts.part2); -} - -struct Parts[T1, T2]( - .part1: T1, - .part2: T2, -) { -} - -fun getMessageParts() -> Parts[String, String] { - Parts[String, String](.part1 = "hello, ", .part2 = "world\n") -} |
