diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-02-02 19:10:44 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-02-02 19:53:22 +0000 |
| commit | 6ead9f417fabd55cc26a93c6d54bdde1110fccd4 (patch) | |
| tree | ec43bf0f0f97d329e63229da812ae82b7df132aa /examples/21-function-expression | |
| parent | cab0787d8c259b21baa376ba1ec2d95740964bd9 (diff) | |
Add runtime support for relational int operations
Diffstat (limited to 'examples/21-function-expression')
| -rw-r--r-- | examples/21-function-expression/shed-examples.json5 | 9 | ||||
| -rw-r--r-- | examples/21-function-expression/shed.json5 | 8 | ||||
| -rw-r--r-- | examples/21-function-expression/src/HelloWorld.shed | 11 |
3 files changed, 0 insertions, 28 deletions
diff --git a/examples/21-function-expression/shed-examples.json5 b/examples/21-function-expression/shed-examples.json5 deleted file mode 100644 index 531c665f..00000000 --- a/examples/21-function-expression/shed-examples.json5 +++ /dev/null @@ -1,9 +0,0 @@ -{ - examples: [ - { - project: ".", - bin: "hello-world", - expectedOutput: "hello, world", - }, - ], -} diff --git a/examples/21-function-expression/shed.json5 b/examples/21-function-expression/shed.json5 deleted file mode 100644 index a6c8e563..00000000 --- a/examples/21-function-expression/shed.json5 +++ /dev/null @@ -1,8 +0,0 @@ -{ - bins: [ - { - name: "hello-world", - mainNamespace: "HelloWorld", - }, - ], -} diff --git a/examples/21-function-expression/src/HelloWorld.shed b/examples/21-function-expression/src/HelloWorld.shed deleted file mode 100644 index 1ebb2863..00000000 --- a/examples/21-function-expression/src/HelloWorld.shed +++ /dev/null @@ -1,11 +0,0 @@ -fun printer(left: String) -> fn (String) ! Io -> Unit { - fn (right: String) !Io -> Unit { - print!(left); - print!(right); - } -} - -pub fun main() ! Io -> Unit { - printer("hello")!(", "); - printer("world")!("\n"); -} |
