From c71d109610ea6f299df09d2b794b326fb70f9ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 16 May 2026 13:47:36 +0200 Subject: Separate hide/expose expressions for primitive and function types --- src/Parser/Expr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Parser/Expr.hs') diff --git a/src/Parser/Expr.hs b/src/Parser/Expr.hs index 16c2b45..c8a9e85 100644 --- a/src/Parser/Expr.hs +++ b/src/Parser/Expr.hs @@ -195,7 +195,7 @@ list = label "list" $ do return $ SomeExpr $ TypeLambda tvar (ExprTypeApp (ExprTypeConstr1 (Proxy :: Proxy [])) [ ExprTypeVar tvar ]) $ \case - (ExprTypePrim (Proxy :: Proxy a)) -> HideType (ExprTypePrim (Proxy @[ a ])) $ Pure ([] :: [ a ]) + (ExprTypePrim (Proxy :: Proxy a)) -> HidePrimType $ Pure ([] :: [ a ]) _ -> Undefined "incomplete type" ,do SomeExpr x <- someExpr FunctionTerm -- cgit v1.2.3