Opened 5 years ago

Closed 5 years ago

#4455 closed proposal (fixed)

Add Applicative instance for ST

Reported by: pumpkin Owned by:
Priority: normal Milestone: Not GHC
Component: libraries/base Version: 6.12.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

ST has a Functor and a Monad instance, but no Applicative instance. This patch by Bas van Dijk adds such an instance.

Attachments (1)

add_instance_Applicative_ST.dpatch (53.7 KB) - added by pumpkin 5 years ago.
add Applicative instance for ST

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by pumpkin

add Applicative instance for ST

comment:1 Changed 5 years ago by igloo

  • Milestone set to Not GHC

comment:2 Changed 5 years ago by pumpkin

  • Status changed from new to patch

comment:3 Changed 5 years ago by ross

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

Discussion: http://comments.gmane.org/gmane.comp.lang.haskell.libraries/14225

Patch (with Applicative instances for strict and lazy ST monads) applied.

Note: See TracTickets for help on using tickets.