Skip to content

Commit

Permalink
[doc:README] improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
uditkarode authored Nov 10, 2021
1 parent 49f1e17 commit eb948aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Functions can have variadic arguments:
; Here are the remaining arguments: ["efgh","ijkl","mnop"]
```

Functions can be recursive, but make sure to manually define to return type, because it isn't possible to infer types mid-function yet:
Functions can be recursive, but make sure to manually define the return type, since it isn't possible to infer the return type of a function during it's execution yet:
```clojure
(defun (factorial: int) [(num: int)] {
(if (== num 1) 1 (* num (factorial (- num 1))))
Expand Down

0 comments on commit eb948aa

Please sign in to comment.