Add Semigroup/Monoid instances to ST monad
authorBen Gamari <ben@smart-cactus.org>
Tue, 15 Aug 2017 00:58:16 +0000 (20:58 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 15 Aug 2017 01:32:17 +0000 (21:32 -0400)
commit441c52de0621ac68a2248cf691b4de31fba48a34
treebe97549925f8ab6d8670423ad89992aaf3021dc9
parenta520adcce27908c799b64214618cf9b33572dc37
Add Semigroup/Monoid instances to ST monad

Fixes #14107.

Signed-off-by: Philipp Middendorf <middendorf@plapadoo.de>
Reviewers: austin, hvr, bgamari, RyanGlScott

Reviewed By: bgamari

Subscribers: RyanGlScott, rwbarton, thomie

GHC Trac Issues: #14107

Differential Revision: https://phabricator.haskell.org/D3845
libraries/base/Data/Semigroup.hs
libraries/base/GHC/ST.hs
libraries/base/changelog.md