371x Filetype PDF File size 1.22 MB Source: assets.hkoi.org
Functional Programming
Charlie Li
6/4/2019
Content
• Functional Programming
• Haskell – Features
• Haskell – Basic Types
• Haskell – Classes
• Haskell – Custom Types
• Haskell – Infix Function
• Haskell – Precedence and Associativity
• Haskell – Partial Application
Content
• Haskell – Strict Type
• Haskell – Syntax
• Haskell – Pattern Matching
• Haskell – Lists
• Haskell – Folds
• Haskell – Tuples
• Haskell – Challenges
• Haskell – More
Functional Programing
• Why functional programing?
• Pros:
• Less bug
• Shorter and cleaner code
• Focus on WHAT to calculate not HOW to calculate
• Cons:
• Looonger programming time and runtime
• Compile errorsss
no reviews yet
Please Login to review.