Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jrapdx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
jrapdx
14y ago
> The two calls to "eval" are identical, yet return > different results. That breaks referential transparency. You are right, I don't know much about the syntax of clojure, but the Scheme version works as I'd expect. Yes,
2.
▲
by
jrapdx
14y ago
As presented, the example macro doesn't demonstrate referential transparency, but then again, the example appears to be incorrect. The issue is invoking "(swapargs (mod 7 5))". I tried this in the Scheme REPL (Chicken to be precise), in wh