projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2005-10-14 11:22:41 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
hsSyn
/
HsUtils.lhs
diff --git
a/ghc/compiler/hsSyn/HsUtils.lhs
b/ghc/compiler/hsSyn/HsUtils.lhs
index
ec6ca99
..
612e57a
100644
(file)
--- a/
ghc/compiler/hsSyn/HsUtils.lhs
+++ b/
ghc/compiler/hsSyn/HsUtils.lhs
@@
-141,6
+141,10
@@
unqualSplice = mkRdrUnqual (mkVarOcc FSLIT("splice"))
-- identify the splice
mkHsString s = HsString (mkFastString s)
+
+-------------
+userHsTyVarBndrs :: [Located name] -> [Located (HsTyVarBndr name)]
+userHsTyVarBndrs bndrs = [ L loc (UserTyVar v) | L loc v <- bndrs ]
\end{code}