Learn how to write a "Hello World" program in Haskell using putStrLn or print. Understand the differences between them. Discover how to run a Haskell program using GHC or GHCI. Explore the types of expressions and how type classes work in Haskell. Find out how to write an "echo" program. For a comprehensive introduction to Haskell, check out the Haskell From Scratch course.
Table of contents
Writing Haskell "Hello World"The Simplest Way to Run the CodeFunctional Programming and TypesRequirements of an Executable Haskell ProgramUsing the GHC CompilerUsing GHCI - The Haskell InterpreterA Closer Look at Our TypesCompilation ErrorsA Quick Look At Type ClassesEcho - Another Example ProgramA Complete Introduction to the Haskell Programming LanguageSort: