@@ -264,8 +264,8 @@ instance (Pretty s, Pretty a, Typeable s, Typeable a) => Exception (ExtractError
264
264
function
265
265
-}
266
266
data InvalidDecoder s a = InvalidDecoder
267
- { invalidTypeExpected :: Expr s a
268
- , invalidTypeExpression :: Expr s a
267
+ { invalidDecoderExpected :: Expr s a
268
+ , invalidDecoderExpression :: Expr s a
269
269
}
270
270
deriving (Typeable )
271
271
@@ -290,8 +290,8 @@ instance (Pretty s, Pretty a, Typeable s, Typeable a) => Show (InvalidDecoder s
290
290
\" <> show txt1 <> " \n \
291
291
\ \n "
292
292
where
293
- txt0 = Dhall.Util. insert invalidTypeExpected
294
- txt1 = Dhall.Util. insert invalidTypeExpression
293
+ txt0 = Dhall.Util. insert invalidDecoderExpected
294
+ txt1 = Dhall.Util. insert invalidDecoderExpression
295
295
296
296
-- | @since 1.16
297
297
data InputSettings = InputSettings
404
404
-}
405
405
input
406
406
:: Decoder a
407
- -- ^ The type of value to decode from Dhall to Haskell
407
+ -- ^ The decoder for the Dhall value
408
408
-> Text
409
409
-- ^ The Dhall program
410
410
-> IO a
@@ -421,7 +421,7 @@ input =
421
421
inputWithSettings
422
422
:: InputSettings
423
423
-> Decoder a
424
- -- ^ The type of value to decode from Dhall to Haskell
424
+ -- ^ The decoder for the Dhall value
425
425
-> Text
426
426
-- ^ The Dhall program
427
427
-> IO a
@@ -465,7 +465,7 @@ inputWithSettings settings (Decoder {..}) txt = do
465
465
-}
466
466
inputFile
467
467
:: Decoder a
468
- -- ^ The type of value to decode from Dhall to Haskell
468
+ -- ^ The decoder for the Dhall value
469
469
-> FilePath
470
470
-- ^ The path to the Dhall program.
471
471
-> IO a
@@ -481,7 +481,7 @@ inputFile =
481
481
inputFileWithSettings
482
482
:: EvaluateSettings
483
483
-> Decoder a
484
- -- ^ The type of value to decode from Dhall to Haskell
484
+ -- ^ The decoder for the Dhall value
485
485
-> FilePath
486
486
-- ^ The path to the Dhall program.
487
487
-> IO a
@@ -547,7 +547,7 @@ inputExprWithSettings settings txt = do
547
547
rawInput
548
548
:: Alternative f
549
549
=> Decoder a
550
- -- ^ The type of value to decode from Dhall to Haskell
550
+ -- ^ The decoder for the Dhall value
551
551
-> Expr s Void
552
552
-- ^ a closed form Dhall program, which evaluates to the expected type
553
553
-> f a
0 commit comments