[GHC] #13146: Doc for RealWorld refers to non-existent "ptrArg"

#13146: Doc for RealWorld refers to non-existent "ptrArg" -------------------------------------+------------------------------------- Reporter: chris-martin | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Prelude | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Documentation Unknown/Multiple | bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The haddock for `RealWorld` says:
`RealWorld` is deeply magical. It is ''primitive'', but it is not ''unlifted'' (hence `ptrArg`). We never manipulate values of type `RealWorld`; it's only used in the type system, to parameterise `State#`.
The "(hence `ptrArg`)" doesn't seem to make any sense. There is no identifer named `ptrArg` anywhere in the GHC repository. Is this a typo, or a reference to something that no longer exists? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13146 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13146: Doc for RealWorld refers to non-existent "ptrArg" -------------------------------------+------------------------------------- Reporter: chris-martin | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Prelude | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * cc: simonmar (added) Comment: Huh, that's quite an unusual description. A quick search reveals that Simon Marlow added this description to `RealWorld` all the way back in 2007: http://git.haskell.org/ghc.git/blobdiff/e07e2550074ddc7d96e2092e56add418403b... Simon, do you recall what you meant by "`ptrArg`"? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13146#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC