From 5beda4695dcce91a2743f0673ae0eb0677b47cb2 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 15 Dec 2023 17:33:48 -0500 Subject: [PATCH] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab5544c..67083a6 100644 --- a/README.md +++ b/README.md @@ -225,12 +225,12 @@ Functions are first-class values in dust, so they are assigned to variables like ```dust # This simple function has no arguments. -say_hi = fn || { +say_hi = (fn) { (output "hi") } # This function has one argument and will return a value. -add_one <(int) -> int> = fn |number| { +add_one = (fn number ) { number + 1 }