Skip to content

Commit

Permalink
add missing compact eval
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly authored Aug 1, 2024
1 parent 2d6229a commit c6003f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ $ fact = func(n) {if (n<=1) {return 1} n*self(n-1)} // could be n*fact(n-1) too
}
n * self(n - 1)
}
== Eval ==> func(n){if n<=1{return 1}n*self(n-1)}
$ n=fact(6)
== Parse ==> n = fact(6)
== Eval ==> 720
Expand Down

0 comments on commit c6003f3

Please sign in to comment.