Enjoy long-term maintainable software you can rely on
open sourceBSD-3-Clauseself-hostablefree
Haskell is a purely functional programming language based on lambda calculus, with referential transparency, immutability and lazy evaluation. Every expression has a type determined at compile time, inferred where it isn't written, and type classes, polymorphism and algebraic data types let programs express domain rules directly in code. Its reference compiler, the Glasgow Haskell Compiler (GHC), supports the whole Haskell 2010 language plus many extensions, compiles to native code through its default native code generator or LLVM, and includes the GHCi interactive interpreter; its runtime has garbage collection, green threads and Software Transactional Memory for concurrent and parallel programs. GHCup installs the toolchain, cabal builds projects, haskell-language-server adds editor support, and libraries are published on Hackage. GHC is BSD-licensed.
Libraries for Haskell
Browse all of them: 9 libraries, 1 framework.
Problems it solves
- a language where the compiler catches most of my bugs before the program runs
- refactor a large codebase with confidence that nothing silently broke
- model complex business rules as types instead of comments
- learn functional programming properly with pure functions and immutability
- write concurrent and parallel code without fighting shared mutable state
- which language should I use for a compiler, parser or interpreter
Features
- purely functional with immutability and referential transparency
- lazy evaluation
- static typing with type inference
- type classes and algebraic data types
- GHC native code generator and LLVM backend
- GHCi interactive interpreter
- green threads and Software Transactional Memory
- GHCup installer, cabal and haskell-language-server
- libraries on Hackage
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Haskell does.
- Roc A fast, friendly, functional language
- Unison A friendly programming language from the future
- Scala Expressive, scalable, safe
- OCaml An industrial-strength functional programming language with an emphasis on expressiveness and safety
- F# F# empowers everyone to write succinct, robust and performant code
- Elm A delightful language for reliable webapps
