Skip to content

Commit a80ca08

Browse files
BodigrimMarge Bot
authored andcommitted
Link reference paper and package from System.Mem.{StableName,Weak}
1 parent c8c6eab commit a80ca08

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

libraries/base/System/Mem/StableName.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
-- collector, meaning a re-hash would be necessary after every garbage
2323
-- collection.
2424
--
25+
-- See [Stretching the storage manager: weak pointers and stable names in
26+
-- Haskell](https://www.microsoft.com/en-us/research/publication/stretching-the-storage-manager-weak-pointers-and-stable-names-in-haskell/)
27+
-- by Simon Peyton Jones, Simon Marlow and Conal Elliott for detailed discussion
28+
-- of stable names. An implementation of a memo table with stable names
29+
-- can be found in [@stable-memo@](https://hackage.haskell.org/package/stable-memo)
30+
-- package.
31+
--
2532
-------------------------------------------------------------------------------
2633

2734
module System.Mem.StableName (

libraries/base/System/Mem/Weak.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@
4747
-- generalisation of the basic weak-pointer idea, in which each
4848
-- weak pointer actually contains both a key and a value.
4949
--
50+
-- See [Stretching the storage manager: weak pointers and stable names in
51+
-- Haskell](https://www.microsoft.com/en-us/research/publication/stretching-the-storage-manager-weak-pointers-and-stable-names-in-haskell/)
52+
-- by Simon Peyton Jones, Simon Marlow and Conal Elliott for detailed discussion
53+
-- of weak pointers. An implementation of a memo table with weak pointers
54+
-- can be found in [@stable-memo@](https://hackage.haskell.org/package/stable-memo)
55+
-- package.
56+
--
5057
-----------------------------------------------------------------------------
5158

5259
module System.Mem.Weak (

0 commit comments

Comments
 (0)