mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
keep ingested_file_bytes result the same on import changes
This commit is contained in:
parent
cf96010543
commit
52133e2d21
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue