Skip to content
Snippets Groups Projects
Commit a944f9a3 authored by sof's avatar sof
Browse files

[project @ 1998-09-30 07:54:48 by sof]

new helper: openAlphaTyVars
parent 56779b1c
No related merge requests found
......@@ -8,7 +8,7 @@ module TyVar (
setTyVarFlexi,
cloneTyVar, nameTyVar,
openAlphaTyVar,
openAlphaTyVar, openAlphaTyVars,
alphaTyVars, alphaTyVar, betaTyVar, gammaTyVar, deltaTyVar,
-- We also export "environments" keyed off of
......@@ -97,6 +97,10 @@ Fixed collection of type variables
-- result type for "error", so that we can have (error Int# "Help")
openAlphaTyVar = TyVar initTyVarUnique mkTypeKind Nothing unused
openAlphaTyVars =
[ TyVar u mkTypeKind Nothing unused
| u <- iterate incrUnique initTyVarUnique]
alphaTyVars = [ TyVar u mkBoxedTypeKind Nothing unused
| u <- iterate incrUnique initTyVarUnique]
......
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