summaryrefslogtreecommitdiff
path: root/Presence/Logging.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-04-04 21:25:16 -0400
committerjoe <joe@jerkface.net>2014-04-04 21:25:16 -0400
commit24e346b0ce82b96d5add6f5af4a43caad3bebde0 (patch)
tree32d43436b4f18f4b01aa51a2d2c54b3b826ebaea /Presence/Logging.hs
parent006f17c1a1613e7e03bdd4025a0399cdb46cbd6d (diff)
type signatures
Diffstat (limited to 'Presence/Logging.hs')
-rw-r--r--Presence/Logging.hs8
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 #-}
1module Logging where 2module Logging where
2 3
3import qualified Data.ByteString.Lazy.Char8 as L 4import qualified Data.ByteString.Lazy.Char8 as L
4import qualified Data.ByteString.Char8 as S 5import qualified Data.ByteString.Char8 as S
5import qualified Data.Text.IO as Text 6import qualified Data.Text.IO as Text
7import qualified Data.Text as Text
6import qualified Debug.Trace as Debug 8import qualified Debug.Trace as Debug
7 9
10debugL :: L.ByteString -> IO ()
11debugS :: S.ByteString -> IO ()
12debugStr :: String -> IO ()
13debugText :: Text.Text -> IO ()
14trace :: forall a. String -> a -> a
15
8 16
9debugStr str = putStrLn str 17debugStr str = putStrLn str
10 18