From fc7a22de861fd87e065d957b9f50ffe391588f73 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Wed, 9 Jan 2008 11:47:36 +0000 Subject: [PATCH] Fix comment on GHC.Ptr.minusPtr --- GHC/Ptr.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4