mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 14:23:32 +03:00
8 lines
154 B
Idris
8 lines
154 B
Idris
|
import System.File
|
||
|
|
||
|
main : IO ()
|
||
|
main = do
|
||
|
Right str <- readFile "Main.cases"
|
||
|
| Left err => putStrLn "Error:" *> printLn err
|
||
|
putStrLn str
|