intercalate is join in Haskell
Prelude>:m Data.List
Prelude Data.List> putStrLn $ intercalate " " ["Hello", "World"]
Hello World
"join" is one of popular names of such function.
In Haskell, it's intercalate
.
Prelude>:m Data.List
Prelude Data.List> putStrLn $ intercalate " " ["Hello", "World"]
Hello World
"join" is one of popular names of such function.
In Haskell, it's intercalate
.