mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-23 06:57:15 +03:00
5ea6aa0520
The changes are as follows: + `print` is for putting showable things to STDOUT. + `printLn` is for putting showable things to STDOUT with a new line + `putCharLn` for putting a single character to STDOUT, with a new line. Effects has been updated accordingly.
9 lines
133 B
Idris
9 lines
133 B
Idris
module Main
|
|
|
|
main : IO ()
|
|
main = do
|
|
printLn $ prim_lenString "hallo"
|
|
printLn $ prim_lenString "1"
|
|
printLn $ prim_lenString ""
|
|
|