Opened 9 years ago

Closed 9 years ago

Last modified 5 years ago

#868 closed bug (fixed)

incorrect function in section 7.4.5.1 of the docs

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Documentation Version: 6.4.2
Keywords: Cc: gaal@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

The section on implicit paramaters has the example:

least
(?cmp :: a -> a -> Bool) => [a] -> a least xs = fst (sort xs)

"fst" should probably be replaced with "head".

Change History (4)

comment:1 Changed 9 years ago by simonpj

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

Quite right! Fixed, thank you.

Simon

comment:2 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:3 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple

comment:4 Changed 5 years ago by simonmar

  • difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.