blob: 31e472990282474496917b1f8081d3af64199b69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import gleam/io
pub fn main() {
let fahrenheit = {
let degrees = 64
degrees
}
// io.debug(degrees) // <- This will not compile
// Changing order of evaluation
let celsius = { fahrenheit - 32 } * 5 / 9
io.debug(celsius)
}
|