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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Alexis King
GHC
Commits
eb78c4c6
Commit
eb78c4c6
authored
17 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
clarify that unsafeCoerce# :: Float# -> Int# is not safe (see #2209)
parent
b27381f4
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/prelude/primops.txt.pp
+1
-0
1 addition, 0 deletions
compiler/prelude/primops.txt.pp
with
1 addition
and
0 deletions
compiler/prelude/primops.txt.pp
+
1
−
0
View file @
eb78c4c6
...
@@ -1801,6 +1801,7 @@ pseudoop "unsafeCoerce#"
...
@@ -1801,6 +1801,7 @@ pseudoop "unsafeCoerce#"
*
Casting
{
\
tt
Any
}
back
to
the
real
type
*
Casting
{
\
tt
Any
}
back
to
the
real
type
*
Casting
an
unboxed
type
to
another
unboxed
type
of
the
same
size
*
Casting
an
unboxed
type
to
another
unboxed
type
of
the
same
size
(
but
not
coercions
between
floating
-
point
and
integral
types
)
*
Casting
between
two
types
that
have
the
same
runtime
representation
.
One
case
is
when
*
Casting
between
two
types
that
have
the
same
runtime
representation
.
One
case
is
when
the
two
types
differ
only
in
"phantom"
type
parameters
,
for
example
the
two
types
differ
only
in
"phantom"
type
parameters
,
for
example
...
...
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