Fix comment on GHC.Ptr.minusPtr
authorsimonpj@microsoft.com <unknown>
Wed, 9 Jan 2008 11:47:36 +0000 (11:47 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 9 Jan 2008 11:47:36 +0000 (11:47 +0000)
GHC/Ptr.lhs

index 391f925..79dbc74 100644 (file)
@@ -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)