Improve seq documentation; part of trac issue #9390
ClosedPublic

Authored by snoyberg on Aug 10 2014, 5:59 AM.

Details

Summary

Signed-off-by: Michael Snoyman <michael@snoyman.com>

Test Plan

Review documentation change

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Lint Skipped
Unit
Unit Tests Skipped
snoyberg updated this revision to Diff 301.Aug 10 2014, 5:59 AM
snoyberg retitled this revision from to Improve seq documentation; part of trac issue #9390.
snoyberg updated this object.
snoyberg edited the test plan for this revision. (Show Details)
snoyberg added a reviewer: simonpj.
snoyberg updated the Trac tickets for this revision.
hvr added a subscriber: hvr.Aug 10 2014, 6:10 AM
hvr added inline comments.
libraries/base/Prelude.hs
172

We could also make @pseq@ into a hyperlink to http://hackage.haskell.org/package/base-4.7.0.1/docs/GHC-Conc.html#v:pseq by using the markup 'GHC.Conc.pseq' (and maybe add a note there as well, that pseq is supposed to be imported from the parallel package in user-code)

Yay! Build B366: Diff 301 (D136) has succeeded! Full logs available at F12292.

austin accepted this revision.Aug 10 2014, 2:04 PM
austin edited edge metadata.

I normally use the syntax @'GHC.Conc.pseq'@ to also do proper code formatting when using examples. But anyway, this looks fine to me as is.

This revision is now accepted and ready to land.Aug 10 2014, 2:04 PM
austin closed this revision.Aug 10 2014, 3:53 PM
austin updated this revision to Diff 312.

Closed by commit rGHCcbfa107604f4 (authored by @snoyberg, committed by @austin).