Skip to content
Snippets Groups Projects
Commit 20e39e0e authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2004-12-22 16:58:34 by simonpj]

----------------------------------------
	     Add more scoped type variables
	----------------------------------------

Now the top-level forall'd variables of a type signature scope
over the right hand side of that function.

	f :: a -> a
	f x = ....

The type variable 'a' is in scope in the RHS, and in f's patterns.

It's implied by -fglasgow-exts, but can also be switched off independently
using -fscoped-type-variables (and the -fno variant)
parent d7c402a3
Branches wip/simon-perf
No related tags found
Loading
Showing
with 245 additions and 194 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment