base: Introduce Data.Monoid.Ap
authorchessai <chessai1996@gmail.com>
Wed, 11 Apr 2018 22:28:41 +0000 (18:28 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 27 May 2018 20:43:42 +0000 (16:43 -0400)
commitb67e8a3f107f7e7b2cefb526a5f956a4a3abc852
treeefc2140c4714dc1d756f92d8f2663187ddeaf298
parent6a9b9b431dcc94849d14c13639eb2f713e5aa1f4
base: Introduce Data.Monoid.Ap

This data type witnesses the lifting of a monoid into an applicative
pointwise.
15 files changed:
libraries/base/Control/Monad/Fix.hs
libraries/base/Data/Data.hs
libraries/base/Data/Foldable.hs
libraries/base/Data/Monoid.hs
libraries/base/Data/Traversable.hs
libraries/base/changelog.md
testsuite/tests/annotations/should_fail/annfail10.stderr
testsuite/tests/ghci/scripts/T10963.stderr
testsuite/tests/polykinds/T13393.stderr
testsuite/tests/typecheck/should_compile/T14273.stderr
testsuite/tests/typecheck/should_compile/holes2.stderr
testsuite/tests/typecheck/should_compile/valid_substitutions.stderr
testsuite/tests/typecheck/should_fail/T10971b.stderr
testsuite/tests/typecheck/should_fail/T12921.stderr
testsuite/tests/typecheck/should_fail/T14884.stderr