Haskell
Haskell is the pure functional language par excellence: no side effects, lazy evaluation and an extremely powerful type system. Widely used in research, finance and compilers. It demands you change how you think.
- Creado por Comité Haskell
- Año 1990
- Paradigma: Pure functional · compiled
- Extensiones: .hs, .lhs
Para qué se usa
- Academic research
- Financial systems
- Compilers
A favor
- Pure, elegant functional
- Powerful type system
- Very safe code
En contra
- Very hard curve
- Lazy evaluation confuses
- Impractical to start
Ecosistema
- GHC
- Stack
- Cabal
- Servant
- Yesod
- QuickCheck
Ejemplo
main :: IO ()
main = putStrLn "¡Hola, mundo!"