An Overview of the Haskell Programming Language
Haskell is a general purpose, purely functional programming language, which is named after logician Haskell Curry. It is a statically and strongly typed language with algebraic type system. Haskell expressions are lazy evaluated unlike many other modern languages.
Haskell has pioneered a number of programming language features such as type classes, which enable type-safe operator overloading. Haskell's semantics are historically based on those of the ML-style programming languages
Haskell's main implementation is the Glasgow Haskell Compiler (GHC). The current formal specification of the language is the Haskell 2010 Language Report. GHC has expanded Haskell via language extensions, however.
Haskell Main Features
- Haskell is a statically and strongly typed programming language.
- Haskell is a pure functional programming language.
- Haskell supports powerful type inference. However, by convention, function definitions are (almost always) type annotated in Haskell programs.
- Haskell supports algebraic type system.
- Expressions in Haskell are lazy evaluated.
- Haskell supports pattern matching.
- Haskell supports type classes.
- Haskell supports I/O via monads.
Hello World in Haskell
module Main (main) where
main :: IO ()
main = putStrLn "Hello, World!"
More on Hello World in Haskell
If you are interested in finding out more about the Haskell programming language, then here's an explanation of the Hello World program in Haskell in a little more detail:
- Hello World (Haskell): Haskell Hello World - A quick explanation
C C++ C# Clojure Crystal D Dart Erlang F# Go Java Javascript Julia Kotlin Lua Python Rust Scala Swift Typescript