Diff
Not logged in

Differences From Artifact [a38c7267da8f14a3]:

To Artifact [274d10aca22ce25f]:


7 7 def maxNormal(x,y) { 8 8 if(x<y){y}else{x} 9 9 }; 10 10 @macro maxBad(x,y) { 11 11 if(x<y){y}else{x} 12 12 }; 13 13 14 -@macro LetItBe(x, y) { 15 - let it = x in y 16 -}; 14 +@macro LetItBe(x, y) { let it = x in y }; 17 15 18 16 @macro pow10(x) { 19 - @v( 17 + @value( 20 18 def pow(x, n) { 21 19 if( n == 1 ) { x } 22 20 else { 23 - @macro( @v(x) * @v(pow(x,n-1)) ) 21 + @macro( @value(x) * @value(pow(x,n-1)) ) 24 22 } 25 23 } 26 24 in 27 25 pow(@macro(x),10) 28 26 ) 29 27 }; 30 28