You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-demo/precalc-demo/test.rkt

18 lines
264 B
Racket

6 years ago
#lang precalc-demo
fun f(x, y, z) = x + x + x * (y + y) + y * z - z - z
fun g(z) = f(z, z, z) // line comment
g(10) // 300
fun h() = g(10)
h() // also 300
fun k(x) = x / 10 / 10 / (x / x)
k(h()) // 3
6 years ago
k(10 * (15 + 3 * 5)) // 3
6 years ago
/*
multiline comment
0 / 0 / 0
*/