Repository : ssh://darcs.haskell.org//srv/darcs/packages/base On branch : master
http://hackage.haskell.org/trac/ghc/changeset/65201a15399acab917de316fcaa175be8e6a5cfd >--------------------------------------------------------------- commit 65201a15399acab917de316fcaa175be8e6a5cfd Author: Simon Marlow <[email protected]> Date: Thu Apr 12 11:19:04 2012 +0100 doc tweaks >--------------------------------------------------------------- System/Mem/Weak.hs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/System/Mem/Weak.hs b/System/Mem/Weak.hs index a2e6f72..4003a74 100644 --- a/System/Mem/Weak.hs +++ b/System/Mem/Weak.hs @@ -139,8 +139,9 @@ The behaviour is simply this: This behaviour depends on what it means for a key to be reachable. Informally, something is reachable if it can be reached by following ordinary pointers from the root set, but not following weak pointers. -We define reachability more precisely as follows A heap object is -reachable if: +We define reachability more precisely as follows. + +A heap object is /reachable/ if: * It is a member of the /root set/. @@ -149,6 +150,6 @@ reachable if: * It is a weak pointer object whose key is reachable. - * It is the value or finalizer of an object whose key is reachable. + * It is the value or finalizer of a weak pointer object whose key is reachable. -} _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
