Idris-dev/test/reg013/reg013.idr
Jan de Muijnck-Hughes 5ea6aa0520 Address semantic differences in putting things to STDOUT.
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.
2015-03-06 17:26:33 +00:00

9 lines
133 B
Idris

module Main
main : IO ()
main = do
printLn $ prim_lenString "hallo"
printLn $ prim_lenString "1"
printLn $ prim_lenString ""