type signature

This commit is contained in:
Simon Michael 2011-08-07 22:29:47 +00:00
parent 20a45c538d
commit b783f25fa8

View File

@ -332,6 +332,7 @@ mtrace :: (Monad m, Show a) => a -> m a
mtrace a = strace a `seq` return a
-- | trace an expression using a custom show function
tracewith :: (a -> String) -> a -> a
tracewith f e = trace (f e) e
-- parsing