Haskell is a standardized, general-purpose, polymorphically statically typed, lazy, purely functional language, very different from many programming languages. It enables developers to produce software that’s clear, concise, and correct.
This is a mature programming language with the first version defined in 1990. It has a strong, static type system based on Hindley–Milner type inference. The main implementation of Haskell is the Glasgow Haskell Compiler (GHC), an open source native code compiler. Recent innovations include static polymorphic typing, higher-order functions, user-definable algebraic data types, a module system, and more. It has built-in concurrency and parallelism, debuggers, profilers, rich libraries and an active community, with thousands of open source libraries and tools.
Haskell offers many advantages to programmers. It helps rapid application development with shorter, clearer code, and higher reliability. It’s suitable for a variety of applications, and often used in academia and industry.
As at June 2019, Haskell ranks 42nd on the TIOBE Programming Community index, an indicator of the popularity of programming languages.
Here’s our recommended tutorials to learn Haskell. If you’re looking for free Haskell programming books, check here.
1. A Gentle Introduction to Haskell by Paul Hudak, John Peterson, Joseph Fasel
The aim is to provide a gentle introduction to Haskell for someone who has experience with at least one other language, preferably a functional language (even if only an “almost-functional” language such as ML or Scheme).
2. Anatomy of Programming Languages by William Cook
Learn by doing, using Haskell.
3. Haskell no panic by Conrad Barski
You can just cut and paste the code from this tutorial bit by bit, and in the process, your new program will create magically create more and more cool graphics along the way.
4. Haskell web programming by Yann Esposito
A simple Yesod tutorial. Yesod is a Haskell web framework.
5. Learn Haskell Fast and Hard by Yann Esposito
A very short and dense tutorial for learning Haskell.
6. Tackling the Awkward Squad: monadic input/output, concurrency, exceptions, and foreign-language calls in Haskell by Simon Peyton Jones
These lecture notes give an overview of the techniques that have been developed by the Haskell community. The author introduces various proposed extensions to Haskell along the way, and offers an operational semantics that explains what these extensions mean.
7. Happy Learn Haskell Tutorial by Hal Daumé III
This tutorial brings your Haskell reading skill from nothing to about halfway through beginner level. You will also gain the skills necessary to write the smallest pre-beginner (basic level) programs.
All tutorials in this series:
|Free Programming Tutorials|
|Java||General-purpose, concurrent, class-based, object-oriented, high-level language|
|C||General-purpose, procedural, portable, high-level language|
|Python||General-purpose, structured, powerful language|
|C++||General-purpose, portable, free-form, multi-paradigm language|
|C#||Combines the power and flexibility of C++ with the simplicity of Visual Basic|
|PHP||PHP has been at the helm of the web for many years|
|Ruby||General purpose, scripting, structured, flexible, fully object-oriented language|
|Assembly||As close to writing machine code without writing in pure hexadecimal|
|Swift||Powerful and intuitive general-purpose programming language|
|Groovy||Powerful, optionally typed and dynamic language|
|Go||Compiled, statically typed programming language|
|Pascal||Imperative and procedural language designed in the late 1960s|
|Perl||High-level, general-purpose, interpreted, scripting, dynamic language|
|R||De facto standard among statisticians and data analysts|
|COBOL||Common Business-Oriented Language|
|Scala||Modern, object-functional, multi-paradigm, Java-based language|
|Fortran||The first high-level language, using the first compiler|
|Scratch||Visual programming language designed for 8-16 year-old children|
|Lua||Designed as an embeddable scripting language|
|Logo||Dialect of Lisp that features interactivity, modularity, extensibility|
|Rust||Ideal for systems, embedded, and other performance critical code|
|Lisp||Unique features - excellent to study programming constructs|
|Ada||ALGOL-like programming language, extended from Pascal and others|
|Haskell||Standardized, general-purpose, polymorphically, statically typed language|
|Scheme||General-purpose, functional, language descended from Lisp and Algol|
|Prolog||General purpose, declarative, logic programming language|
|Forth||Imperative stack-based programming language|
|Clojure||Dialect of the Lisp programming language|
|Julia||High-level, high-performance language for technical computing|
|SQL||Access and manipulate data held in a relational database management system|
|Erlang||General-purpose, concurrent, declarative, functional language|
|VimL||Powerful scripting language of the Vim editor|
|OCaml||General-purpose, powerful, high-level language|
|Awk||Versatile language designed for pattern scanning and processing|
|Racket||Platform for programming language design and implementation|
|BASIC||Family of general-purpose, high-level programming languages|
|LaTeX||Professional document preparation system and document markup language|
|Elixir||Relatively new functional language that runs on the Erlang virtual machine|
|Dart||Client-optimized programming language for fast apps|
|ABAP||Advanced Business Application Programming|
|F#||General purpose, strongly typed, multi-paradigm language. Part of ML|
|Chapel||Parallel-programming language in development at Cray Inc.|
|Dylan||Multi-paradigm language, supports functional & object-oriented programming|
|D||General-purpose systems programming language with a C-like syntax|
|Solidity||Object-oriented, high-level language for implementing smart contracts|
|XML||Set of rules for defining semantic tags that describe the structure and meaning|
|Vala||Object-oriented language with a self-hosting compiler that generates C code|
|ECMAScript||Best known as the language embedded in web browsers|
|Kotlin||Statically typed, general-purpose programming language with type inference|
|Markdown||Plain text formatting syntax designed to be easy-to-read and easy-to-write|
|Pike||Interpreted, general-purpose, high-level, cross-platform, dynamic language|
|HTML||HyperText Markup Language|
|Factor||Dynamic stack-based language|
|Objective-C||General purpose language which is a superset of C|
|Standard ML||One of the two main dialects of the ML language|
|Alice||Educational language with an integrated development environment|
|Agda||Dependently typed functional language based on intuitionistic type theory|
|Icon||High-level, general-purpose language|
|PureScript||Small strongly, statically typed language with expressive types|
|Tcl||Dynamic language based on concepts of Lisp, C, and Unix shells|
|QML||Hierarchical declarative language for user interface layout with a syntax to JSON|
|VHDL||Very High Speed Integrated Circuit Hardware Description Language|
|OpenCL||Open Computing Language|
|Haml||HTML Abstraction Markup Language|
|J||Array programming language based primarily on APL|
|LabVIEW||Designed to enable domain experts to build power systems quickly|
|Hack||For the HipHop Virtual Machine (HHVM), created as a dialect of PHP|
|V||Statically typed compiled language to build maintainable software|
|PostScript||Page description language in electronic and desktop publishing|
|Arduino||Inexpensive, flexible, open source microcontroller platform|
|Nim||Statically typed compiled systems language with syntax resembling Python|
|Emacs Lisp||A dialect of the Lisp programming language.|
|Octave||High-level language, primarily intended for numerical computations|
|Bash||‘Bourne-Again-SHell’ is both a shell and programming language|
|Limbo||Designed for applications running distributed systems on small computers|
|CSS||CSS (Cascading Style Sheets) specifies a web page’s appearance|
|Raku||Member of the Perl family of programming languages|
|Coq||Dependently typed language similar to Agda, Idris, F*, Lean, and others|