Anonymous user
Arithmetic/Integer: Difference between revisions
m
→{{header|Racket}}: No need for eval, just use the functions
No edit summary |
m (→{{header|Racket}}: No need for eval, just use the functions) |
||
Line 2,730:
=={{header|Racket}}==
<lang racket>
#lang racket/base
(define (arithmetic x y)
(for ([op
(
(arithmetic 8 12)
</lang>
Line 2,752:
(lcm 8 12) => 24
</pre>
=={{header|Raven}}==
|