| Independent of language extensions, what about types and classes whose
| names are not in scope.  Is there an implicit "... if you import all
| the relevant symbols" and the end of the rule?

Good point.  I'm honestly unsure how far to push this one!  (It'd be relatively 
easy to check whether they were in scope and complain if not, but ...)

Simon

| -----Original Message-----
| From: haskell-core-librar...@googlegroups.com [mailto:haskell-core-
| librar...@googlegroups.com] On Behalf Of David Mazieres
| Sent: 22 April 2014 00:41
| To: Simon Peyton Jones; Haskell Libraries (librar...@haskell.org);
| core-libraries-commit...@haskell.org; GHC users
| Subject: [core libraries] Re: Tightening up on inferred type signatures
| 
| Simon Peyton Jones <simo...@microsoft.com> writes:
| 
| > GHC generally obeys this rule
| >
| > * If GHC infers a type f::type, then it's OK for you to add a type
| > signature saying exactly that.
| 
| Independent of language extensions, what about types and classes whose
| names are not in scope.  Is there an implicit "... if you import all
| the relevant symbols" and the end of the rule?
| 
| David
| 
| --
| You received this message because you are subscribed to the Google
| Groups "haskell-core-libraries" group.
| To unsubscribe from this group and stop receiving emails from it, send
| an email to haskell-core-libraries+unsubscr...@googlegroups.com.
| For more options, visit https://groups.google.com/d/optout.
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to