elm-in-elm/compiler/1.0.0

NOTE: the latest version is 1.0.1

Elm.Data.Project

The project information (corresponds to a single elm.json file). Holds more information though - the data in the type parameter holds all the parsed modules etc. - what every stage needs. See ProjectFields of the various AST stages.

type alias Project projectFields =
{ projectFields
| elmJson : Project
, mainFilePath : FilePath
, mainModuleName : ModuleName
, sourceDirectory : FilePath
}

Each AST stage has its own project fields - that's what the r parameter is. Eg. on the frontend we have program : Modules Frontend.Expr and on the backend we have graph : Backend.Graph.