Horner's rule for polynomial evaluation: Difference between revisions

combined two Racket versions/examples under one (language) section. -- ~~~~
m (un-curried)
(combined two Racket versions/examples under one (language) section. -- ~~~~)
Line 1,056:
 
=={{header|Rascal}}==
Standard===standard implementation===
<lang rascal>import List;
 
Line 1,074:
int: 128</lang>
 
===idiomatic implmentation===
=={{header|Racket}}==
This one is idiomatic, but maybe not the clearest.