I'm going to remove some Elm code, and I was wondering how to do this:
Suppose I have the following file structure
Project | |---Car | |--- BMW.elm | |--- Mercedes.elm |...
Suppose I split the BMW and Mercedes code into different files so that my code is small and separate, so itβs much easier for me to add another file, say Toyota.elm
Now I would like for any files inside the Project folder to just access all the files in the Car
folder without writing
import Car.BMW (..) import Car.Mercedes (..) ...etc...
Ideally, I would just write something like
import Car (..)
and that gives me access to everything inside each of these files.
Is it possible? If so, what is the best strategy for this?
source share