Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
e99b50ff
Commit
e99b50ff
authored
27 years ago
by
Juan J. Quintela
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-12-02 18:15:53 by quintela]
Added matchExport to Match export list
parent
b3912ef3
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/deSugar/DsLoop.lhi
+6
-3
6 additions, 3 deletions
ghc/compiler/deSugar/DsLoop.lhi
with
6 additions
and
3 deletions
ghc/compiler/deSugar/DsLoop.lhi
+
6
−
3
View file @
e99b50ff
...
...
@@ -5,22 +5,25 @@ between DsExpr/DsBinds and various things.
interface DsLoop where
import CoreSyn ( CoreBinding(..), CoreExpr(..) )
import DsMonad ( DsM(..) )
import DsMonad ( DsM(..)
, DsMatchKind(..)
)
import DsBinds ( dsBinds )
import DsExpr ( dsExpr )
import DsUtils ( EquationInfo, MatchResult )
import FastString ( FastString )
import Id ( Id(..) )
import Match ( match, matchSimply )
import Match (
matchExport,
match, matchSimply )
import PreludeStdIO ( Maybe )
import TcHsSyn ( TypecheckedHsBinds(..), TypecheckedHsExpr(..), TypecheckedPat(..) )
import Type ( Type(..) )
match :: [Id] -- Variables rep'ing the exprs we're matching with
-> [EquationInfo] -- Info about patterns, etc. (type synonym below)
-> [EquationInfo] -- Potentially shadowing equations above this one
-> DsM MatchResult -- Desugared result!
matchExport :: [Id] -- Variables rep'ing the exprs we're matching with
-> [EquationInfo] -- Info about patterns, etc. (type synonym below)
-> DsM MatchResult -- Desugared result!
matchSimply :: CoreExpr -- Scrutinee
-> DsMatchKind -- Type of Match
-> TypecheckedPat -- Pattern it should match
-> Type -- Type of result
-> CoreExpr -- Return this if it matches
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment