1. Haskell: a simple intro
Ahmed Sherief Ahmed ELDakhakhny
Twitter:@ahmd_sherief
Facebook:goo.gl/9RKCH
2. • Haskell is functional programming language
• Haskell is lazy. Haskell won't execute
functions and calculate things until it's really
forced to show you a result.
• Haskell allow infinite data structures
• Haskell can build recursive procedures
3. Haskell is statically typed
• The type of every expression is known at
compile time-and has type interface if u say
a=5+8 then a is a number other example
num sum(num1 ,num2) if you passed a string
as num1 and a number as num2 it will deal
with the string as a number
4. • Haskell is elegant and concise.
• Haskell programs are usually shorter than
their imperative equivalents. And shorter
programs are easier to maintain than longer
ones and have less bugs
• To program in Haskell you will need
– text editor
– A Haskell compiler(GHC is the most widely used
Haskell
5. Some important data structures
• List
• Dictionary --lookup
• Trees (red-black , AVL)
• Graphs
• Mutables
• Io
• etc