projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2839722
)
Fix comment on GHC.Ptr.minusPtr
author
simonpj@microsoft.com
<unknown>
Wed, 9 Jan 2008 11:47:36 +0000
(11:47 +0000)
committer
simonpj@microsoft.com
<unknown>
Wed, 9 Jan 2008 11:47:36 +0000
(11:47 +0000)
GHC/Ptr.lhs
patch
|
blob
|
history
diff --git
a/GHC/Ptr.lhs
b/GHC/Ptr.lhs
index
391f925
..
79dbc74
100644
(file)
--- a/
GHC/Ptr.lhs
+++ b/
GHC/Ptr.lhs
@@
-62,7
+62,7
@@
alignPtr addr@(Ptr a) (I# i)
0# -> addr;
n -> Ptr (plusAddr# a (i -# n)) }
--- |Computes the offset required to get from the first to the second
+-- |Computes the offset required to get from the second to the first
-- argument. We have
--
-- > p2 == p1 `plusPtr` (p2 `minusPtr` p1)