| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Dhall.Lint
Contents
Description
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 letbindings withremoveUnusedBindings.
- fixes let a = x ≡ yto belet a = assert : x ≡ y
- consolidates nested letbindings to use a multiple-letbinding withremoveLetInLet
- fixes paths of the form ./../footo../foo