Functional Programming

  • Computer Science |

Description

The purpose of this course is to introduce the theory and practice of functional programming (FP). The characteristic feature of FP is the emphasis on computation as evaluation. The traditional dis-tinction between program and data characteristic of imperative programming (IP) is replaced by an emphasis on classifying expressions by types that specify their applicative behavior. Types include familiar (fixed and arbitrary precision) numeric types, tuples and records (structs), classified values (objects), inductive types such as trees, functions with specified inputs and outputs, and commands such as input and output. Well-typed expressions are evaluated to produce values, in a manner that is guaranteed to be type safe. Because functional programs do not cause side-effects, we can take advantage of simple mathematical principles in reasoning about applicative behavior and analyzing the runtime properties of programs.

Program

Bachelor of Computer Science - 144 CRs

Objectives

  • 1. Understand basic functional programming techniques.
    2. Design programs using types.
    3. Develop programs using mathematical techniques for verification and analysis.
    4. Use of abstract types and modules to structure code.
    5. Exploit parallelism in applications

Textbook

Thompson S., Haskell: The Craft of Functional Programming, Addison-Wesley

Course Content

content serial Description
1Introducing functional programming
2Basic types and definitions
3Data types, tuples and lists
4Programming with lists
5I/O in Haskell
6Reasoning about programs
77th week exam
8Generalization: patterns of computation
9Higher-order functions
10Overloading, type classes and type checking
11Algebraic types
1212th week exam
13Abstract data types
14Lazy programming
15Programming with monads and Domain-Specific Languages
16Final exam

Markets and Career

  • Generation, transmission, distribution and utilization of electrical power for public and private sectors to secure both continuous and emergency demands.
  • Electrical power feeding for civil and military marine and aviation utilities.
  • Electrical works in construction engineering.

Start your application

Start The your journey to your new career.