Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dhall-1.27 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.3

- Use `dhall ==1.27`

# 0.2

- Use `dhall ==1.26`
Expand Down
4 changes: 2 additions & 2 deletions servant-dhall.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: >=1.10
name: servant-dhall
version: 0.2
version: 0.3
synopsis: Servant Dhall content-type
description:
Servant Dhall bindings.
Expand Down Expand Up @@ -34,7 +34,7 @@ library
base >=4.9 && <4.13
, base-compat >=0.10.1 && <0.12
, bytestring >=0.10.4.0 && <0.11
, dhall >=1.26.0 && <1.27
, dhall >=1.27.0 && <1.28
, either >=5.0.1.1 && <5.1
, http-media >=0.7.1.2 && <0.9
, megaparsec >=7.0.4 && <7.1
Expand Down
7 changes: 4 additions & 3 deletions src/Servant/Dhall.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
module Servant.Dhall (
DHALL,
DHALL',
HasInterpretOptions,
HasInterpretOptions(..),
DefaultInterpretOptions,
) where

Expand Down Expand Up @@ -47,8 +47,9 @@ import Data.Traversable
import Data.Typeable
(Typeable)
import Dhall
(Inject (..), InputType (..), Interpret (..),
InterpretOptions, Type (..), defaultInterpretOptions)
(Inject, InputType (..), Interpret,
InterpretOptions, Type (..), autoWith,
defaultInterpretOptions, injectWith)
import qualified Dhall.Core
import Dhall.Parser
(exprFromText, unwrap)
Expand Down