From f679aa64f2113351f79dc530feff8203b83ab0cb Mon Sep 17 00:00:00 2001 From: Shaun Chua Date: Fri, 19 Feb 2016 17:22:03 -0500 Subject: [PATCH] included a basic function call without parameters --- reference.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference.markdown b/reference.markdown index 643a7d5..d6983f6 100644 --- a/reference.markdown +++ b/reference.markdown @@ -38,6 +38,8 @@ An expression is anything that results in a value. Almost everything in Pharen i {% highlight clojure %} ; A basic function call: my-function is passed a string and a variable (my-function "argument 1" argument-2) +; An even more basic function call: you don't have to pass my-function any parameters +(my-function) ; Expressions can be used anywhere that atomic values can be used. (my-function (another-function "argument 1") argument-2) {% endhighlight %}