summaryrefslogtreecommitdiff
path: root/pp/pp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'pp/pp.hs')
-rw-r--r--pp/pp.hs14
1 files changed, 0 insertions, 14 deletions
diff --git a/pp/pp.hs b/pp/pp.hs
deleted file mode 100644
index 7163754..0000000
--- a/pp/pp.hs
+++ /dev/null
@@ -1,14 +0,0 @@
1module Main (main) where
2
3import Data.BEncode
4import qualified Data.ByteString as B
5import System.IO
6import System.Environment
7
8main :: IO ()
9main = do
10 path : _ <- getArgs
11 content <- B.readFile path
12 case decode content of
13 Left e -> hPutStrLn stderr e
14 Right be -> print $ ppBEncode be \ No newline at end of file