aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-06-16 17:04:50 -0400
committerDave Gauer <dave@ratfactor.com>2021-06-16 17:04:50 -0400
commit64219e5dcda1d999583f48f8e4a55f47f9a00aaf (patch)
tree2c45e515c886e0a264ac4e52a38a8700141e1d2a
parentda219d3c40dd2711cb1b144a8fd2f6ca4e86d159 (diff)
downloadziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.tar.gz
ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.tar.bz2
ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.tar.xz
ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.zip
Oops, had committed WIP exercise
-rw-r--r--091_async8.zig20
1 files changed, 0 insertions, 20 deletions
diff --git a/091_async8.zig b/091_async8.zig
deleted file mode 100644
index 5f9e19b..0000000
--- a/091_async8.zig
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Perhaps you have been wondering why we have always called 'suspend'
-// with an expression in the form of an empty block:
-//
-// suspend {}
-//
-// well,
-//
-const print = @import("std").debug.print;
-
-pub fn main() void {
-
- var my_beef = getBeef(0);
-
- print("beef? {X}!\n", .{my_beef});
-}
-
-fn getBeef(input: u32) u32 {
- suspend {}
-}