From 6ead9f417fabd55cc26a93c6d54bdde1110fccd4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 2 Feb 2025 19:10:44 +0000 Subject: Add runtime support for relational int operations --- examples/21-function-expression/shed-examples.json5 | 9 --------- examples/21-function-expression/shed.json5 | 8 -------- examples/21-function-expression/src/HelloWorld.shed | 11 ----------- 3 files changed, 28 deletions(-) delete mode 100644 examples/21-function-expression/shed-examples.json5 delete mode 100644 examples/21-function-expression/shed.json5 delete mode 100644 examples/21-function-expression/src/HelloWorld.shed (limited to 'examples/21-function-expression') 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"); -} -- cgit v1.2.3