diff options
author | joe <joe@jerkface.net> | 2014-04-04 21:25:16 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-04-04 21:25:16 -0400 |
commit | 24e346b0ce82b96d5add6f5af4a43caad3bebde0 (patch) | |
tree | 32d43436b4f18f4b01aa51a2d2c54b3b826ebaea /Presence/Logging.hs | |
parent | 006f17c1a1613e7e03bdd4025a0399cdb46cbd6d (diff) |
type signatures
Diffstat (limited to 'Presence/Logging.hs')
-rw-r--r-- | Presence/Logging.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Presence/Logging.hs b/Presence/Logging.hs index f55e2e79..b997d341 100644 --- a/Presence/Logging.hs +++ b/Presence/Logging.hs | |||
@@ -1,10 +1,18 @@ | |||
1 | {-# LANGUAGE RankNTypes #-} | ||
1 | module Logging where | 2 | module Logging where |
2 | 3 | ||
3 | import qualified Data.ByteString.Lazy.Char8 as L | 4 | import qualified Data.ByteString.Lazy.Char8 as L |
4 | import qualified Data.ByteString.Char8 as S | 5 | import qualified Data.ByteString.Char8 as S |
5 | import qualified Data.Text.IO as Text | 6 | import qualified Data.Text.IO as Text |
7 | import qualified Data.Text as Text | ||
6 | import qualified Debug.Trace as Debug | 8 | import qualified Debug.Trace as Debug |
7 | 9 | ||
10 | debugL :: L.ByteString -> IO () | ||
11 | debugS :: S.ByteString -> IO () | ||
12 | debugStr :: String -> IO () | ||
13 | debugText :: Text.Text -> IO () | ||
14 | trace :: forall a. String -> a -> a | ||
15 | |||
8 | 16 | ||
9 | debugStr str = putStrLn str | 17 | debugStr str = putStrLn str |
10 | 18 | ||