We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f5377 commit 653932eCopy full SHA for 653932e
dhall/src/Dhall/Import.hs
@@ -756,14 +756,15 @@ loadWith expr₀ = case expr₀ of
756
:: (MonadCatch m)
757
=> MissingImports
758
-> StateT (Status m) m (Expr Src Import)
759
- handler₀ e@(MissingImports []) = throwM e
760
- handler₀ (MissingImports [e]) =
761
- throwMissingImport (Imported imports' e)
762
- handler₀ (MissingImports es) = throwM
763
- (MissingImports
764
- (fmap
765
- (\e -> (toException (Imported imports' e)))
766
- es))
+ handler₀ (MissingImports es) =
+ throwM
+ (MissingImports
+ (map
+ (\e -> toException (Imported imports' e))
+ es
+ )
767
+
768
handler₁
769
770
=> SomeException
0 commit comments