Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains the implementation of the dhall lint
command
Lint
lint :: Expr s Import -> Expr s Import Source #
Automatically improve a Dhall expression
Currently this:
- removes unused
let
bindings withremoveUnusedBindings
. - fixes
let a = x ≡ y
to belet a = assert : x ≡ y
- consolidates nested
let
bindings to use a multiple-let
binding withremoveLetInLet
- fixes paths of the form
./../foo
to../foo