Opened 3 years ago

Closed 3 years ago

#7108 closed bug (fixed)

Link to haskell report in prelude

Reported by: JonasDuregard Owned by: igloo
Priority: high Milestone: 7.6.2
Component: libraries/base Version: 7.4.2
Keywords: documentation Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Documentation bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

The documentation of the Prelude module mentions and links to the Haskell 98 report. Shouldn't it be the 2010 report by now?

Change History (6)

comment:1 Changed 3 years ago by simonmar

  • difficulty set to Unknown
  • Milestone set to 7.6.1
  • Priority changed from normal to high

comment:2 Changed 3 years ago by pcapriotti

Fixed:

commit 79d9ea6dcef04798dc047de50231ac064ff34722
Author: Paolo Capriotti <[email protected]>
Date:   Wed Aug 8 14:47:08 2012 +0100

    Refer and link to Haskell 2010 report in Prelude.

There are a few other references to Haskell 98 in base (for example in the documentation of the Read module). I suppose those should be updated as well?

comment:3 Changed 3 years ago by igloo

We might be better off not referring to a language standard at all in base (as base changes ahead of the language standards), but copying any relevant documentation. The language standards already include the library haddocks, so future standards could do so for this documentation too.

comment:4 Changed 3 years ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:5 Changed 3 years ago by igloo

  • Owner set to igloo

comment:6 Changed 3 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

The one in this ticket is fixed by

commit df39704e33c0f1cf6101daab79c573f354e38a6a
Author: Ian Lynagh <[email protected]>
Date:   Sat Nov 17 20:02:37 2012 +0000

    Improve the Prelude doc header; part of #7108
    
    It no longer refers to a particular version of the language standard.
    
    It now includes a note about how it is implicitly imported, and
    it looks like the other documentation from the language report
    is already included in the haddock docs.

The others I found are comparing to H98/H2010, so changing them to refer to generic "standard Haskell" may be confusing if the comparison isn't true for future versions. I've updated the ones I found to refer to H2010, though.

Note: See TracTickets for help on using tickets.