Can someone please correct my understanding of existing project types in Roc (if it's wrong) and how to reuse code.
main.roc
is an entrypoint.So far so good.
roc-datetime
)package [Foo] { html: "https://github.com/Hasnep/roc-html/[something].tar.br" }
, but if I import anything in html
the build just hangs (compiler is getting several BuildTask
s, last of them being Solve
, then getting stuck in load_single_threaded
loop, although load_multi_threaded
seems to be busier)tar.br
has main.roc
?Interfaces. Are they still a thing?
interface
has been renamed to module
What is the correct way to write a header? I see at least two options: roc-html and roc-parser
Like in roc-html is the most up to date way to do it
Thanks! At least I was doing all the right way. I guess it means I just stumbled upon a bug in a compiler
Presumably this one? https://github.com/roc-lang/roc/issues/6889
I'll take a look
Yes, that issue still reproduces and is likely what is causing your problem too, I've changed it's priority to high
Thanks again! I'll post some more info there
Last updated: Jul 05 2025 at 12:14 UTC