aboutsummaryrefslogtreecommitdiff
path: root/aoc2023/src/aoc2023.gleam
blob: 30335eee904e8807f102cba450817d8607dba7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
import gleam/io
import gleam/bit_array

const str = "abcdefgh
abcdefgh"

pub fn main() {
  let trim = 8
  let <<_:bytes-size(trim), "\n":utf8, rest:bytes>> = bit_array.from_string(str)
  io.debug(rest)
}