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
9fc856c1
Commit
9fc856c1
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-05-26 04:38:15 by sof]
Imports updated
parent
1bda1b2e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/hsSyn/HsLoop.lhi
+20
-32
20 additions, 32 deletions
ghc/compiler/hsSyn/HsLoop.lhi
with
20 additions
and
32 deletions
ghc/compiler/hsSyn/HsLoop.lhi
+
20
−
32
View file @
9fc856c1
...
...
@@ -2,44 +2,32 @@
interface HsLoop where
import Hs
Expr ( HsExpr, Stmt
)
import Hs
Binds ( HsBinds, MonoBinds, Sig, nullBinds, nullMonoBinds
)
import Hs
Matches( Match, GRHSsAndBinds, pprMatch, pprMatches, pprGRHSsAndBinds
)
import Hs
Expr ( HsExpr, pprExpr
)
import HsDecls ( ConDecl )
import Name ( NamedThing )
import Outputable ( Outputable )
-- HsExpr outputs
data HsExpr tyvar uvar id pat
data Stmt tyvar uvar id pat
instance (NamedThing id, Outputable id, Outputable pat,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar)
=> Outputable (HsExpr tyvar uvar id pat)
instance (NamedThing id, Outputable id, Outputable pat,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar)
=> Outputable (Stmt tyvar uvar id pat)
import Outputable ( Outputable, PprStyle )
import Pretty ( Doc )
-- HsMatches outputs
data Match tyvar uvar id pat
data GRHSsAndBinds tyvar uvar id pat
-- HsBinds outputs
data Sig id
instance (NamedThing name, Outputable name) => Outputable (Sig name)
pprGRHSsAndBinds :: (NamedThing id, Outputable id, Outputable pat,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar) =>
PprStyle -> Bool -> GRHSsAndBinds tyvar uvar id pat -> Doc
data HsBinds tyvar uvar id pat
pprMatches :: (NamedThing id, Outputable id, Outputable pat,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar) =>
PprStyle -> (Bool, Doc) -> [Match tyvar uvar id pat] -> Doc
instance (Outputable pat,
NamedThing id, Outputable id,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar) =>
Outputable (HsBinds
tyvar uvar id pat
)
pprMatch :: (
NamedThing id, Outputable id,
Outputable pat,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar) =>
PprStyle -> Bool -> Match
tyvar uvar id pat
-> Doc
data MonoBinds tyvar uvar id pat
instance (NamedThing id, Outputable id, Outputable pat,
Eq tyvar, Outputable tyvar, Eq uvar, Outputable uvar) =>
Outputable (MonoBinds tyvar uvar id pat)
nullBinds :: HsBinds tyvar uvar id pat -> Bool
nullMonoBinds :: MonoBinds tyvar uvar id pat -> Bool
-- HsExpr outputs
data HsExpr tyvar uvar id pat
pprExpr :: (NamedThing c, Outputable c, Outputable d, Eq a, Outputable a, Eq b, Outputable b)
=> PprStyle -> HsExpr a b c d -> Doc
-- HsDecls outputs
data ConDecl name
\end{code}
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