diff options
| author | Cody <cody@codyq.dev> | 2023-03-04 11:04:53 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-04 11:04:53 -0600 |
| commit | 3ef6d8188e97301ea9b3278c103565f509877a45 (patch) | |
| tree | ccae28db7b0b877fc6bbd2163903bad342bc55fc /examples | |
| parent | 0c5616a91d7280341dc6aa522daf04d151108d4e (diff) | |
| parent | 9387325c8e92edf3afc13e8711a50f12cf5e0feb (diff) | |
| download | sloth-3ef6d8188e97301ea9b3278c103565f509877a45.tar.gz | |
Merge pull request #1 from nic-gaffney/master
Fixed parenthesis in fib.sloth print
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/fib.sloth | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/fib.sloth b/examples/fib.sloth index e98764a..1031d1c 100644 --- a/examples/fib.sloth +++ b/examples/fib.sloth @@ -16,9 +16,9 @@ fn fib(n: i32) -> i32 { return me; } -print fib(0); -print fib(1); -print fib(2); -print fib(3); -print fib(4); -print fib(5); +print(fib(0)); +print(fib(1)); +print(fib(2)); +print(fib(3)); +print(fib(4)); +print(fib(5)); |
