Say Hello to Programming: Writing “Hello, World!” in 50 Different Languages
https://dev.to/henrylehd/say-hello-to-programming-writing-hello-world-in-50-different-languages-202n
Description: In this blog post, we’ll explore the fascinating world of programming by learning how to write the classic “Hello, World!” program in 50 different programming languages. From the simplicity of Python to the elegance of Haskell, we’ll…
While it’s conventional and good practice to provide a type signature, Haskell does not require one for
main
.main = putStrLn "Hello, World!"
is sufficient. The type can be inferred.