Skip to content

Commit

Permalink
Fix types when NODEBUG is on
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorycollins committed Dec 22, 2010
1 parent a352cd7 commit 9875cff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Snap/Internal/Iteratee/Debug.hs
Expand Up @@ -75,7 +75,10 @@ iterateeDebugWrapper name iter = do

#else

iterateeDebugWrapper :: String -> Iteratee IO a -> Iteratee IO a
iterateeDebugWrapper :: (Show a, MonadIO m) =>
String
-> Iteratee a m b
-> Iteratee a m b
iterateeDebugWrapper _ = id
{-# INLINE iterateeDebugWrapper #-}

Expand Down

0 comments on commit 9875cff

Please sign in to comment.