blob: 5f99f5cc1ab7c05c3de30d7919782a7ec77495e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
\begin{code}
module Match where
import Var ( Id )
import TcType ( TcType )
import DsMonad ( DsM, EquationInfo, MatchResult )
import CoreSyn ( CoreExpr )
import HsSyn ( LPat, HsMatchContext, MatchGroup )
import Name ( Name )
match :: [Id]
-> TcType
-> [EquationInfo]
-> DsM MatchResult
matchWrapper
:: HsMatchContext Name
-> MatchGroup Id
-> DsM ([Id], CoreExpr)
matchSimply
:: CoreExpr
-> HsMatchContext Name
-> LPat Id
-> CoreExpr
-> CoreExpr
-> DsM CoreExpr
matchSinglePat
:: CoreExpr
-> HsMatchContext Name
-> LPat Id
-> TcType
-> MatchResult
-> DsM MatchResult
\end{code}
|