🎵greater things are yet to come🎵
This commit is contained in:
parent
28264dac34
commit
e295647bbe
|
@ -17,7 +17,6 @@ main = do
|
||||||
(filePath:_) -> do
|
(filePath:_) -> do
|
||||||
-- Attempt to read the file
|
-- Attempt to read the file
|
||||||
contents <- catch (readFile filePath) handleReadError
|
contents <- catch (readFile filePath) handleReadError
|
||||||
putStrLn "File Contents:"
|
|
||||||
putStrLn $ ppShow $ Haskellator.runParser contents filePath
|
putStrLn $ ppShow $ Haskellator.runParser contents filePath
|
||||||
[] -> putStrLn "cabal run Haskellator -- <file-path>"
|
[] -> putStrLn "cabal run Haskellator -- <file-path>"
|
||||||
-- putStrLn $ ppShow Haskellator.val
|
-- putStrLn $ ppShow Haskellator.val
|
||||||
|
|
Loading…
Reference in a new issue