mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
A fast, friendly, functional language.
https://roc-lang.org
![]() Prior to this commit, if you had a module structure like ``` | - A.roc | - Dep | - B.roc ``` where `B.roc` was defined as ``` interface B exposes [] imports [] ``` and `A.roc` was defined as ``` interface A exposes [] imports [Dep.B] ``` The compiler would hang on you. The reason is that even though we expect `B` to be named `Dep.B` relative to `A`, that would not be enforced. With this patch, we now enforce such naming schemes - a module must have the namespaced name it is referenced by. Currently, we determine the expected namespaced name by looking at how transitive dependencies of the root module reference the module. In the future, once we have a package ecosystem and a solid idea of "package roots", we can use the "package root" to determine how a module should be named. Closes #4094 |
||
---|---|---|
.cargo | ||
.github | ||
.reuse | ||
ci | ||
crates | ||
design | ||
devtools | ||
examples | ||
getting_started | ||
nightly_benches | ||
www | ||
.earthignore | ||
.gitignore | ||
.llvmenv | ||
AUTHORS | ||
BUILDING_FROM_SOURCE.md | ||
Cargo.lock | ||
Cargo.toml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
default.nix | ||
Earthfile | ||
FAQ.md | ||
flake.lock | ||
flake.nix | ||
LEGAL_DETAILS | ||
LICENSE | ||
README.md | ||
roc-for-elm-programmers.md | ||
rust-toolchain.toml | ||
shell.nix | ||
TUTORIAL.md | ||
typos.toml | ||
version.txt |
Work in progress!
Roc is not ready for a 0.1 release yet, but we do have:
- installation guide
- tutorial
- some docs for the standard library
- frequently asked questions
- Zulip chat for help, questions and discussions
If you'd like to get involved in contributing to the language, the Zulip chat is also the best place to get help with good first issues.
Sponsors
We are very grateful to our sponsors NoRedInk, rwx, and Tweede golf.
If you or your employer would like to sponsor Roc's development, please DM Richard Feldman on Zulip!