Elm - General Discussion, Blog Posts, Wiki

Except I had to do that as it was a single monolithic app, thus yes all the views were together. The way Elm’s type resolver works is the more types you have then the exponentially slower it gets to compile.

If you check you’ll see the elm standard lib duplicated a lot, though google closure can help with that at times.

Okay, so how would you split up a single monolithic notification/messaging app for a teacher tracking system? How could you not import all the parts of the view into a singular location?

rtfeldman’s thing minimizes the types used and they have multiple pages, not a single page that drives everything. They came from a javascript centered world so types were not at their forefront. A ~28k line project here takes about 48s to compile even after it had already been compiled once, though this was in 0.17, 0.18 brought some improvements in some areas but nothing substantial.

EDIT: Also Elm has nothing to do with ocaml, moved to where it belongs. :wink: