typo in Foreign.Ptr.minusPtr documentation

Simon Peyton-Jones simonpj at microsoft.com
Wed Jan 9 06:48:00 EST 2008


Thanks. I'll fix that.

S

| -----Original Message-----
| From: libraries-bounces at haskell.org [mailto:libraries-bounces at haskell.org] On Behalf Of Henning Thielemann
| Sent: 08 January 2008 11:37
| To: libraries at haskell.org
| Subject: typo in Foreign.Ptr.minusPtr documentation
|
|
| http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-Ptr.html#v%3AminusPtr
|
| The description "Computes the offset required to get from the first to
| the second argument." contradicts to the formula
|  p2 == p1 `plusPtr` (p2 `minusPtr` p1)
|
| It should be "Computes the offset required to get from the second to
| the first argument."
| _______________________________________________
| Libraries mailing list
| Libraries at haskell.org
| http://www.haskell.org/mailman/listinfo/libraries


More information about the Libraries mailing list