projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1999-06-01 16:40:41 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
hsSyn
/
HsExpr.lhs
diff --git
a/ghc/compiler/hsSyn/HsExpr.lhs
b/ghc/compiler/hsSyn/HsExpr.lhs
index
24ab616
..
caa8a6b
100644
(file)
--- a/
ghc/compiler/hsSyn/HsExpr.lhs
+++ b/
ghc/compiler/hsSyn/HsExpr.lhs
@@
-153,6
+153,17
@@
data HsExpr id pat
(HsExpr id pat) -- expr whose cost is to be measured
\end{code}
(HsExpr id pat) -- expr whose cost is to be measured
\end{code}
+These constructors only appear temporarily in the parser.
+
+\begin{code}
+ | EWildPat -- wildcard
+
+ | EAsPat id -- as pattern
+ (HsExpr id pat)
+
+ | ELazyPat (HsExpr id pat) -- ~ pattern
+\end{code}
+
Everything from here on appears only in typechecker output.
\begin{code}
Everything from here on appears only in typechecker output.
\begin{code}