haskell.org - Haskell Language

Description: The Haskell purely functional programming language home page.

programming (6395) pure (592) functional (400) haskell (133) lazy (53)

Example domain paragraphs

primes = filterPrime [ 2 .. ] where filterPrime ( p : xs ) = p : filterPrime [ x | x <- xs , x `mod` p /= 0 ] Get started

Every expression in Haskell has a type which is determined at compile time. All the types composed together by function application have to match up. If they don't, the program will be rejected by the compiler. Types become not only a form of guarantee, but a language for expressing the construction of programs.

Click to expand

Links to haskell.org (576)