aboutsummaryrefslogtreecommitdiff
path: root/src/HSVIS/AST.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HSVIS/AST.hs')
-rw-r--r--src/HSVIS/AST.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HSVIS/AST.hs b/src/HSVIS/AST.hs
index 63594bc..6c0b323 100644
--- a/src/HSVIS/AST.hs
+++ b/src/HSVIS/AST.hs
@@ -98,7 +98,7 @@ data Type s
| TFun (X Type s) (Type s) (Type s)
| TCon (X Type s) Name
| TVar (X Type s) Name
- | TForall (X Type s) Name (Type s) -- ^ implicit; also, not parsed
+ -- | TForall (X Type s) Name (Type s) -- ^ implicit; also, not parsed
-- extension point
| TExt (X Type s) !(E Type s)
@@ -163,8 +163,8 @@ instance Pretty (E Type s) => Pretty (Type s) where
prettysPrec 0 a . showString " -> " . prettysPrec (-1) b
prettysPrec _ (TCon _ n) = prettysPrec 11 n
prettysPrec _ (TVar _ n) = prettysPrec 11 n
- prettysPrec d (TForall _ n t) = showParen (d > -1) $
- showString "forall " . prettysPrec 11 n . showString ". " . prettysPrec (-1) t
+ -- prettysPrec d (TForall _ n t) = showParen (d > -1) $
+ -- showString "forall " . prettysPrec 11 n . showString ". " . prettysPrec (-1) t
prettysPrec d (TExt _ e) = prettysPrec d e
instance (Pretty (X Type s), Pretty (E Type s)) => Pretty (DataDef s) where
@@ -254,7 +254,7 @@ instance HasExt Type where
extOf (TFun x _ _) = x
extOf (TCon x _) = x
extOf (TVar x _) = x
- extOf (TForall x _ _) = x
+ -- extOf (TForall x _ _) = x
extOf (TExt x _) = x
-- extMap p ps1 ps2 f g (TApp x a b) = TApp (f x) (extMap p ps1 ps2 f g a) (map (extMap p ps1 ps2 f g) b)