Idris2/tests/base/data_string_unlines001/Unlines.idr

10 lines
351 B
Idris
Raw Normal View History

import Data.String
main : IO ()
main = do printLn ("<" ++ (unlines []) ++ ">")
printLn ("<" ++ (unlines ["ab"]) ++ ">")
printLn ("<" ++ (unlines ["a", "b"]) ++ ">")
printLn ("<" ++ (fastUnlines []) ++ ">")
printLn ("<" ++ (fastUnlines ["ab"]) ++ ">")
printLn ("<" ++ (fastUnlines ["a", "b"]) ++ ">")