dhall-haskell/Prelude/Optional
Gabriel Gonzalez 44a75b4999 Change Dhall's integrity check to use an "intensional" hash (#167)
This updates the recently added support for integrity checking to hash the
final normalized result instead of hashing the text of the import.  This gives
much stronger guarantees about the safety of the imported value, since the
hash now reflects changes to the expression's semantic value

This also lets you safely refactor imported values without changing the hash so
long as the refactor is behavior-preserving.  The hash provides a quick and
dirty protection against human error when used in this way
2017-10-26 08:51:28 -07:00
..
all Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
any Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
build Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
concat Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
filter Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
fold Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
head Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
last Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
length Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
map Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
null Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
toList Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00
unzip Change Dhall's integrity check to use an "intensional" hash (#167) 2017-10-26 08:51:28 -07:00