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
decba0d6
Commit
decba0d6
authored
27 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-01-26 11:04:18 by simonm]
Remove use of lit-lit for minBound::Int, this was only needed for bootstrapping.
parent
00049b5f
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/lib/ghc/PrelBounded.lhs
+2
-4
2 additions, 4 deletions
ghc/lib/ghc/PrelBounded.lhs
with
2 additions
and
4 deletions
ghc/lib/ghc/PrelBounded.lhs
+
2
−
4
View file @
decba0d6
...
...
@@ -11,8 +11,6 @@ Instances of Bounded for various datatypes.
module PrelBounded where
import PrelBase
import CCall -- for the dependency analyser,
-- due to the use of litlits below.
instance Bounded () where
minBound = ()
...
...
@@ -23,6 +21,6 @@ instance Bounded Char where
maxBound = '\255'
instance Bounded Int where
minBound =
``
-2147483648
''
-- GHC <= 2.09 had this at -2147483647
maxBound = 2147483647
minBound = -2147483648 -- GHC <= 2.09 had this at -2147483647
maxBound =
2147483647
\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