B.1. Direct and indirect dependencies
As mentioned in chapter 3, section 3.3.1, an Elm package is a collection of modules, and packages can depend on other packages. These break down into direct and indirect dependencies:
- Direct dependencies— Packages we’ve installed using the elm install command. Our application code can reference anything these packages expose.
- Indirect dependencies— Packages our direct dependencies depend on. Our application code cannot directly reference anything in these packages. (If we want to use something they expose, we can always move them from indirect to direct.)
Note
The reason indirect dependencies are listed explicitly, along with their version numbers, is so that teams working on the same Elm ...
Get Elm in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.