type signature
This commit is contained in:
parent
20a45c538d
commit
b783f25fa8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user