on cdecb5b help sign in
elk/elm/src/Types
7 files
../ Alias.hsFix bug with code that ensures that type annotations are right above their corresponding definition. Due to a lack of parens, the check only worked with one type annotation. Constrain.hsImplement type aliases. Hints.hsAdd support for type annotations. Remaining bugs include `String` is not de-aliased and uses of the cons operator have not yet been switched over to the new (::) syntax. Solver.hsRemove some unsafe printing. Substitutions.hsSplit the alias code into its own file. Add checks for duplicate definitions, bad order of definitions, and type aliases without enough arguments Types.hsAdd support for type annotations. Remaining bugs include `String` is not de-aliased and uses of the cons operator have not yet been switched over to the new (::) syntax. Unify.hsEnable record pattern matching in let-expressions, and fix a toJS error in which records added a newline that could cause them to be parsed weirdly by JS.