Set default-impl of `mapM`/`sequence` methods to `traverse`/`sequenceA`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 27 Sep 2014 20:55:19 +0000 (22:55 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 27 Sep 2014 21:06:35 +0000 (23:06 +0200)
commitf636faa7b2b7fc1d0663f994ad08f365d39a746d
tree5dc27302af7583ba10c197636860b56c1f68bd80
parent51aa2fa3e65a960c1432dba9acc29db719964618
Set default-impl of `mapM`/`sequence` methods to `traverse`/`sequenceA`

This is made possible by the AMP, as we don't need the `WrappedMonad`
helper for that anymore.

Approved-by: Edward Kmett <ekmett@gmail.com>
libraries/base/Data/Traversable.hs