summaryrefslogtreecommitdiffstatshomepage
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-04-19 21:57:37 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2023-04-19 21:57:37 +0200
commitd6d30934dba19bcc5e44c305f789625414e06f67 (patch)
tree64b3084a5cdc7a7796851190e1cb681d8733a363 /patches
parent9ff7f5ee69d42580e51a094e8bb43287ed40ff81 (diff)
added first formatting exercise
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/099_formatting.patch5
1 files changed, 5 insertions, 0 deletions
diff --git a/patches/patches/099_formatting.patch b/patches/patches/099_formatting.patch
new file mode 100644
index 0000000..bb25059
--- /dev/null
+++ b/patches/patches/099_formatting.patch
@@ -0,0 +1,5 @@
+108,109c108
+< // what formatting is needed here?
+< print("{???} ", .{(a + 1) * (b + 1)});
+---
+> print("{d:>3} ", .{(a + 1) * (b + 1)});