keep ingested_file_bytes result the same on import changes

This commit is contained in:
Anton-4 2023-12-23 18:44:36 +01:00
parent cf96010543
commit 52133e2d21
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
2 changed files with 4 additions and 4 deletions

View file

@ -2,13 +2,13 @@ app "ingested-file-bytes"
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.7.1/Icc3xJoIixF3hCcfXrDwLCu4wQHtNdPyoJkEbkgIElA.tar.br" }
imports [
pf.Stdout,
"ingested-file.roc" as ownCode : _, # A type hole can also be used here.
"../../LICENSE" as license : _, # A type hole can also be used here.
]
provides [main] to pf
main =
# Due to how ownCode is used, it will be a List U8.
ownCode
# Due to how license is used, it will be a List U8.
license
|> List.map Num.toNat
|> List.sum
|> Num.toStr