From 644d8d26a2f47d15b4d37397ec682b51ff44692e Mon Sep 17 00:00:00 2001 From: Username404 Date: Tue, 8 Feb 2022 18:05:21 +0100 Subject: [PATCH] Use named functions in HelloWorld.ybcon and README.md Signed-off-by: Username404 --- README.md | 2 +- examples/HelloWorld.ybcon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a76cfa..aea8514 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Aka Yer Bacon, - #### A language that transpiles into lua, javascript (ES6) or python code. ``` -main #=> { +main >> { print_line("Hello, World!") } ``` diff --git a/examples/HelloWorld.ybcon b/examples/HelloWorld.ybcon index 17413c2..5cd203f 100644 --- a/examples/HelloWorld.ybcon +++ b/examples/HelloWorld.ybcon @@ -1,3 +1,3 @@ -main #= [] -> { +main >> { print_line("Hello, World!") }