Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains the implementation of the dhall lint
command
Lint
lint :: Expr s Import -> Expr t Import Source #
Automatically improve a Dhall expression
Currently this:
- removes unused
let
bindings withremoveLetInLet
. - consolidates nested
let
bindings to use a multiple-let
binding withremoveUnusedBindings
. - switches legacy
List
-likeOptional
literals to useSome
/None
instead withoptionalLitToSomeNone