|
|
|
|
|
by billsix
3232 days ago
|
|
In my libbug library, computation at Compile-Time uses the exact same language as the run-time {at-both-times
{define fact
[|n| (if (= n 0)
[1]
[(* n (fact (- n 1)))])]}}
(pp {at-compile-time-expand (fact 3)})
(pp (fact 3))
https://github.com/billsix/bug |
|