+++ /dev/null
-{-# LANGUAGE OverloadedStrings #-}
-
-module Main where
-
-import Prelude hiding (readFile)
-import System.Environment
-import Data.ByteString.Lazy (ByteString)
-import Data.ByteString.Lazy.Char8 (readFile)
-import System.IO.Error
-import Control.Exception
-import Text.Show.Pretty
-
-import NmcDom
-import NmcTransform
-
-queryOp :: String -> IO (Either String ByteString)
-queryOp key = catch (readFile key >>= return . Right)
- (\e -> return (Left (show (e :: IOException))))
-
-main = do
- (d:_) <- getArgs
- descendNmcDom queryOp [] (seedNmcDom d) >>= putStrLn . ppShow
-