aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter0_basics/lesson18_constants/code.gleam
blob: aed6fb05b81c6d457b9374f2c50276e099ad03b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import gleam/io

const ints: List(Int) = [1, 2, 3]

const floats = [1.0, 2.0, 3.0]

pub fn main() {
  io.debug(ints)
  io.debug(ints == [1, 2, 3])

  io.debug(floats)
  io.debug(floats == [1.0, 2.0, 3.0])
}