File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -330,15 +330,15 @@ defaultConversion = Conversion
330
330
-- | The 'Expr' type concretization used throughout this module
331
331
type ExprX = Expr Src Void
332
332
333
- -- | Parse schema code to a valid Dhall expression and check that its type is actually Type
333
+ -- | Parse schema code and resolve imports
334
334
resolveSchemaExpr :: Text -- ^ type code (schema)
335
335
-> IO ExprX
336
336
resolveSchemaExpr code = do
337
337
parsedExpression <-
338
338
case Dhall.Parser. exprFromText " \n\ESC [1;31mSCHEMA\ESC [0m" code of
339
339
Left err -> throwIO err
340
340
Right parsedExpression -> return parsedExpression
341
- D. normalize <$> Dhall.Import. load parsedExpression -- IO
341
+ Dhall.Import. load parsedExpression
342
342
343
343
{-| Check that the Dhall type expression actually has type 'Type'
344
344
>>> :set -XOverloadedStrings
You can’t perform that action at this time.
0 commit comments