From: simonpj@microsoft.com Date: Wed, 9 Jan 2008 11:47:36 +0000 (+0000) Subject: Fix comment on GHC.Ptr.minusPtr X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fc7a22de861fd87e065d957b9f50ffe391588f73;p=ghc-base.git Fix comment on GHC.Ptr.minusPtr --- diff --git a/GHC/Ptr.lhs b/GHC/Ptr.lhs index 391f925..79dbc74 100644 --- 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)