Implement a tiny cat version

We only support a single file which gets written to stdout. Non-existing
files or other errors are printed to stderr and the program terminates.
This commit is contained in:
Alexander Kobjolke 2023-08-13 10:55:57 +02:00
parent babdc90cef
commit 81b0437bb7
2 changed files with 28 additions and 2 deletions

View file

@ -3,4 +3,4 @@ module Main (main) where
import HCat qualified
main :: IO ()
main = HCat.runHCat
main = HCat.defaultMain