Fix horrible mistake in MonadState.state's default definition.
authorFelipe Lessa <felipe.lessa@gmail.com>
Sun, 22 Apr 2012 17:46:08 +0000 (14:46 -0300)
committerFelipe Lessa <felipe.lessa@gmail.com>
Sun, 22 Apr 2012 17:46:08 +0000 (14:46 -0300)
commita60fc2695c5e1bfe72e564c53b88ef266957a00d
tree7a076cce867ee9cb111757bdf0746c1583626743
parent05b0bf2522e47976df99c705a9aee04ee524e6a5
Fix horrible mistake in MonadState.state's default definition.

This is a trivial mistake in the sense that -Wall gives two
warnings about it:

  Control/Monad/State/Class.hs:62:7:
      Warning: Defined but not used: `s'

  Control/Monad/State/Class.hs:63:16:
      Warning: This binding for `s' shadows the existing binding
                 bound at Control/Monad/State/Class.hs:62:7

However, it caused a very hard-to-track bug in a completely
unrelated library (fb, which depends on http-conduit, which
depends on tls, which depends on mtl).
Control/Monad/State/Class.hs