dhall-1.15.0: A configuration language guaranteed to terminate

Safe HaskellNone
LanguageHaskell2010

Dhall.Diff

Contents

Description

This module provides functionality for concisely displaying the difference between two expressions

For example, this is used in type errors to explain why the actual type does not match the expected type

Synopsis

Diff

diffNormalized :: (Eq a, Pretty a) => Expr s a -> Expr s a -> Doc Ann Source #

Render the difference between the normal form of two expressions

diff :: (Eq a, Pretty a) => Expr s a -> Expr s a -> Doc Ann Source #

Render the difference between two expressions