Ticket #1960 (closed proposal: wontfix)

Opened 5 years ago

Last modified 4 years ago

Add Applicative and Monoid instances for STM

Reported by: conal Owned by:
Priority: normal Milestone: Not GHC
Component: libraries/base Version: 6.8.1
Keywords: Cc: conal@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

instance Applicative STM where { pure = return; (<*>) = ap }

instance Monoid (STM a) where { mempty = retry; mappend = orElse }

I don't know where these instances would go. Nor whether this is a libraries or GHC proposal.

Change History

Changed 5 years ago by igloo

  • milestone set to Not GHC

It's a libraries proposal. The instances would need to go in the stm package as far as I can see.

Changed 5 years ago by igloo

  • status changed from new to closed
  • resolution set to wontfix

This proposal seems to be abandoned

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

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