haskell a simple intro
DESCRIPTION
these slides are about haskell the functional programming language hope u enjoy themTRANSCRIPT
Haskell: a simple intro
Ahmed Sherief Ahmed ELDakhakhnyTwitter:@ahmd_sheriefFacebook:goo.gl/9RKCH
• 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
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
• 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
Some important data structures
• List• Dictionary --lookup • Trees (red-black , AVL)• Graphs• Mutables• Io• etc
Thank you
Twitter:@ahmd_sheriefFacebook:goo.gl/9RKCH