aboutsummaryrefslogtreecommitdiff
path: root/examples/37-generic-struct-methods/src
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-01-11 11:44:45 +0000
committerMichael Williamson <mike@zwobble.org>2025-01-12 14:32:55 +0000
commit0d2ac550c25550f9588ec0a1b5885169260f67d6 (patch)
tree68d8b36a98a6d58314bf6e14aba6d8b629805d59 /examples/37-generic-struct-methods/src
parent7b3405d766195f50bcb69f1c17f07b45fa0516eb (diff)
Support local project dependencies
Diffstat (limited to 'examples/37-generic-struct-methods/src')
-rw-r--r--examples/37-generic-struct-methods/src/HelloWorld.shed11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/37-generic-struct-methods/src/HelloWorld.shed b/examples/37-generic-struct-methods/src/HelloWorld.shed
deleted file mode 100644
index a4e808e1..00000000
--- a/examples/37-generic-struct-methods/src/HelloWorld.shed
+++ /dev/null
@@ -1,11 +0,0 @@
-pub fun main() ! Io -> Unit {
- val messageBox = Box("hello, world");
-
- print!(messageBox.get());
-}
-
-struct Box[T](value: T) {
- fun get(this) -> T {
- this.value
- }
-}