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:
parent
babdc90cef
commit
81b0437bb7
2 changed files with 28 additions and 2 deletions
|
|
@ -3,4 +3,4 @@ module Main (main) where
|
|||
import HCat qualified
|
||||
|
||||
main :: IO ()
|
||||
main = HCat.runHCat
|
||||
main = HCat.defaultMain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue