diff options
author | J.J <thechairman@thechairman.info> | 2023-12-04 00:56:43 -0500 |
---|---|---|
committer | J.J <thechairman@thechairman.info> | 2023-12-04 00:56:43 -0500 |
commit | aa4626c6d3feb825f43ae53f0bed09da249f873b (patch) | |
tree | 88140717cee083ab9afa0e6fdd3cdef1385d1e56 /aoc2023/src/aoc2023.gleam | |
parent | cd893a2756ffcc73df737a154ea7b3e2119329fe (diff) | |
download | gleam_aoc-aa4626c6d3feb825f43ae53f0bed09da249f873b.tar.gz gleam_aoc-aa4626c6d3feb825f43ae53f0bed09da249f873b.zip |
day 4 complete
Diffstat (limited to 'aoc2023/src/aoc2023.gleam')
-rw-r--r-- | aoc2023/src/aoc2023.gleam | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/aoc2023/src/aoc2023.gleam b/aoc2023/src/aoc2023.gleam index ea5c211..30335ee 100644 --- a/aoc2023/src/aoc2023.gleam +++ b/aoc2023/src/aoc2023.gleam @@ -1,5 +1,11 @@ import gleam/io +import gleam/bit_array + +const str = "abcdefgh +abcdefgh" pub fn main() { - io.println("Hello from aoc2023!") + let trim = 8 + let <<_:bytes-size(trim), "\n":utf8, rest:bytes>> = bit_array.from_string(str) + io.debug(rest) } |