๐Ÿ““๐ŸŒฑ๐Ÿ’ป GuidoPercu.dev

A Guide to Learnning Haskell

Published on

Haskell will change the way you think.

It gives you a new toolset with which to solve programming problems, often yielding very clean and elegant solutions to otherwise complex problems. - Why Study Functional Programming?

It is my belief that functional languages, almost by definition, are closer to the top of the power spectrum than imperative ones. So languages can actually limit a programmers frame of thought. - Why Haskell Matters?

This is the most comprehensive guide I’ve ever found on how to learn Haskell. Enjoy.


I have explained how to install it in Arch in a recent article. To install the Haskell platform on Debian systems, install the haskell-platform package:

sudo apt-get install haskell-platform

For information about installing it in other systems, visit the official documentation.

Hello World!

main = putStrLn "Hello World!"

Read more about IO in Haskell: Input and Output | Print x PutStrLn

Fibonnaci (recursive)

fib 0 = 0
fib 1 = 1
fib n = fib (n - 2) + fib (n - 1)


fatorial n = product [1..n]






Web Frameworks