Skip to content

Commit

Permalink
Remove version tag from encoded expressions (#805)
Browse files Browse the repository at this point in the history
* Remove version tag from encoded expressions

... as standardized in dhall-lang/dhall-lang#362

This includes backwards compatibility for older encoded expressions
  • Loading branch information
Gabriella439 committed Feb 4, 2019
1 parent 15d0b8d commit 04ec458
Show file tree
Hide file tree
Showing 6 changed files with 203 additions and 194 deletions.
2 changes: 1 addition & 1 deletion dhall/benchmark/parser/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ benchExprFromBytes name bytes = bench name (whnf f bytes)
term <- case Codec.Serialise.deserialiseOrFail bytes of
Left _ -> Nothing
Right term -> return term
case Dhall.Binary.decodeWithVersion term of
case Dhall.Binary.decode term of
Left _ -> Nothing
Right expression -> return expression

Expand Down
Loading

0 comments on commit 04ec458

Please sign in to comment.