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
3f3b8b41
Commit
3f3b8b41
authored
26 years ago
by
Keith Wansbrough
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1999-05-05 11:39:09 by keithw]
Add a space to panic message from zipWith*Equal.
parent
5dd80365
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/utils/Util.lhs
+4
-4
4 additions, 4 deletions
ghc/compiler/utils/Util.lhs
with
4 additions
and
4 deletions
ghc/compiler/utils/Util.lhs
+
4
−
4
View file @
3f3b8b41
...
@@ -115,21 +115,21 @@ zipWith4Equal _ = zipWith4
...
@@ -115,21 +115,21 @@ zipWith4Equal _ = zipWith4
#else
#else
zipEqual msg [] [] = []
zipEqual msg [] [] = []
zipEqual msg (a:as) (b:bs) = (a,b) : zipEqual msg as bs
zipEqual msg (a:as) (b:bs) = (a,b) : zipEqual msg as bs
zipEqual msg as bs = panic ("zipEqual: unequal lists:"++msg)
zipEqual msg as bs = panic ("zipEqual: unequal lists:
"++msg)
zipWithEqual msg z (a:as) (b:bs)= z a b : zipWithEqual msg z as bs
zipWithEqual msg z (a:as) (b:bs)= z a b : zipWithEqual msg z as bs
zipWithEqual msg _ [] [] = []
zipWithEqual msg _ [] [] = []
zipWithEqual msg _ _ _ = panic ("zipWithEqual: unequal lists:"++msg)
zipWithEqual msg _ _ _ = panic ("zipWithEqual: unequal lists:
"++msg)
zipWith3Equal msg z (a:as) (b:bs) (c:cs)
zipWith3Equal msg z (a:as) (b:bs) (c:cs)
= z a b c : zipWith3Equal msg z as bs cs
= z a b c : zipWith3Equal msg z as bs cs
zipWith3Equal msg _ [] [] [] = []
zipWith3Equal msg _ [] [] [] = []
zipWith3Equal msg _ _ _ _ = panic ("zipWith3Equal: unequal lists:"++msg)
zipWith3Equal msg _ _ _ _ = panic ("zipWith3Equal: unequal lists:
"++msg)
zipWith4Equal msg z (a:as) (b:bs) (c:cs) (d:ds)
zipWith4Equal msg z (a:as) (b:bs) (c:cs) (d:ds)
= z a b c d : zipWith4Equal msg z as bs cs ds
= z a b c d : zipWith4Equal msg z as bs cs ds
zipWith4Equal msg _ [] [] [] [] = []
zipWith4Equal msg _ [] [] [] [] = []
zipWith4Equal msg _ _ _ _ _ = panic ("zipWith4Equal: unequal lists:"++msg)
zipWith4Equal msg _ _ _ _ _ = panic ("zipWith4Equal: unequal lists:
"++msg)
#endif
#endif
\end{code}
\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