diff options
Diffstat (limited to 'lib/Data/Packed/Vector.hs')
-rw-r--r-- | lib/Data/Packed/Vector.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Data/Packed/Vector.hs b/lib/Data/Packed/Vector.hs index 23fe37f..e79e237 100644 --- a/lib/Data/Packed/Vector.hs +++ b/lib/Data/Packed/Vector.hs | |||
@@ -99,7 +99,8 @@ state_put :: s -> State s () | |||
99 | state_put s = State $ \_ -> ((),s) | 99 | state_put s = State $ \_ -> ((),s) |
100 | 100 | ||
101 | evalState :: State s a -> s -> a | 101 | evalState :: State s a -> s -> a |
102 | evalState m s = fst $ runState m s | 102 | evalState m s = let (a,s') = runState m s |
103 | in seq s' a | ||
103 | 104 | ||
104 | newtype MaybeT m a = MaybeT { runMaybeT :: m (Maybe a) } | 105 | newtype MaybeT m a = MaybeT { runMaybeT :: m (Maybe a) } |
105 | 106 | ||