Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdearman committed Apr 3, 2024
1 parent 9d12d56 commit 27d3994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/mvp.scm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
(def x 42)

;; def declarations with pattern matching
(: fib Int Int)
(def (fib 0) 0)
(def (fib 1) 1)
(def (fib n) (+ (fib (- n 1)) (fib (- n 2))))
Expand Down

0 comments on commit 27d3994

Please sign in to comment.