aboutsummaryrefslogtreecommitdiff
path: root/lessons/src/lesson004_ints/code.gleam
blob: fbead500d09304c1c5572f85a424868b549cde2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gleam/io

pub fn main() {
  // Int arithmetic
  io.debug(1 + 1)
  io.debug(5 - 1)
  io.debug(5 / 2)
  io.debug(3 * 3)
  io.debug(5 % 2)

  // Int comparisons
  io.debug(2 > 1)
  io.debug(2 < 1)
  io.debug(2 >= 1)
  io.debug(2 <= 1)
}