[project @ 2004-02-02 10:07:37 by simonmar]
[ghc-hetmet.git] / ghc / compiler / NOTES
index 14725dd..4c2b702 100644 (file)
@@ -1,3 +1,17 @@
+* Can a scoped type variable denote a type scheme?
+
+* Relation between separate type sigs and pattern type sigs
+f :: forall a. a->a
+f :: b->b = e   -- No: monomorphic
+
+f :: forall a. a->a
+f :: forall a. a->a  -- OK
+
+f :: forall a. [a] -> [a]
+f :: forall b. b->b = e  ???
+
+
+-------------------------------
 NB: all floats are let-binds, but some non-rec lets
     may be unlifted (with RHS ok-for-speculation)
 
@@ -30,7 +44,7 @@ simplNonRecBind:      [was simplBeta]
     else
        completeLazyBind
 
-simplRecPair:  [binder already simplified, but not its IdInfo]
+simplLazyBind: [binder already simplified, but not its IdInfo]
                [used for both rec and top-lvl non-rec]
                [must not be strict/unboxed; case not allowed]
   - check for PreInlineUnconditionally