Searched refs:HsLam (Results 1 – 25 of 72) sorted by relevance
123
56 findBind FunBind{fun_id, fun_matches} = findExp (unLoc fun_id) [] $ HsLam noExtField fun_matches60 findExp name vs (HsLam _ MG{mg_alts=L _ [L _ Match{m_pats, m_grhss=GRHSs{grhssGRHSs=[L _ (GRHS _ []…63 findExp name vs HsLam{} = []
35 view (fromParen -> (L _ (HsLam _ (MG _ (L _ [L _ (Match _ LambdaExpr [L _ WildPat {}]65 pattern SimpleLambda vs body <- L _ (HsLam _ (MG _ (L _ [L _ (Match _ _ vs (GRHSs _ [L _ (GRHS _ []…
87 | L _ HsLam{} <- parent, isAnyApp child = False
59 lambda vs body = noLoc $ HsLam noExtField (MG noExtField (noLoc [noLoc $ Match noExtField LambdaExp…242 in (noLoc $ HsLam noExtField matchGroup, const [])
102 …freeVars (L _ (HsLam _ mg)) = free (allVars mg) -- Lambda abstraction. Currently always a single m…
88 | L _ HsLam{} <- parent, isAnyApp child = False
61 lambda vs body = noLoc $ HsLam noExtField (MG noExtField (noLoc [noLoc $ Match noExtField LambdaExp…245 in (noLoc $ HsLam noExtField matchGroup, const [])
101 …freeVars (L _ (HsLam _ mg)) = free (allVars mg) -- Lambda abstraction. Currently always a single m…
39 HsLam{} -> True
214 lambdaExp p o@(L _ HsLam{})224 Just p@(L _ (HsPar _ (L _ HsLam{})))282 ( noLoc $ HsLam noExtField oldMG
75 needParenAsChild HsLam{} = True function
135 (L _ (HsLam _ MG {
205 lambdaExp p o@(L _ HsLam{})215 Just p@(L _ (HsPar _ (L _ HsLam{})))273 ( noLoc $ HsLam noExtField oldMG
62 isLambda = \case (L _ HsLam{}) -> True; _ -> False69 (L _ HsLam{}) -> True
21 HsLam _
224 HsLam _
101 cloneT $ noLoc $ HsLam mg { mg_alts = noLoc [m'] }103 cloneT $ noLoc $ HsLam noExtField mg { mg_alts = noLoc [m'] }
65 lambda ps e = noExt HsLam $ matchGroup LambdaExpr [match ps e]