The Elm frontend turns Elm source code into Morphir IR.
Function that turns elm-syntax declarations to Morphir IR types.
Dependencies that are added by default without explicit reference.
Options that modify the behavior of the frontend:
- `typesOnly` - only include type information in the IR, no valuesParses an expression written in the Elm syntax into a RawValue.
Function that takes some package info and a list of sources and returns Morphir IR or errors.