Opened 7 years ago

Closed 6 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 Rev(s):
Wiki Page:


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 7 years ago.
add Applicative instance for ST

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by pumpkin

add Applicative instance for ST

comment:1 Changed 7 years ago by igloo

Milestone: Not GHC

comment:2 Changed 6 years ago by pumpkin

Status: newpatch

comment:3 Changed 6 years ago by ross

Resolution: fixed
Status: patchclosed


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

Note: See TracTickets for help on using tickets.