2025-04-01 14:15:47 +02:00
2025-02-18 15:04:00 +01:00
2025-04-01 14:15:12 +02:00
2025-02-18 15:04:00 +01:00
2025-03-11 13:13:16 +01:00
2025-04-01 14:15:47 +02:00

205.1 Functional Programming

Lambda in the colors of the Scala logo (red)


Table of Contents


Lessons

Lesson 1 - Evaluation

Files

  • Call by name / Call by value
  • State-less functions

Lesson 2 - Higher order functions

Files

  • Curryfication
  • Recursion
  • Tail recursion

Lesson 3 - Data structures

Files

  • Functional data structures
  • Binary tree
  • Operation precedence

Lesson 4 - Lists and pattern matching

Files

  • List
  • Pattern matching
  • Genericity

Lesson 5 - Advanced lists and High order functions

Files

  • Lists
  • High order functions

Midterm preparation

Files

Midterm

Files

Assignments

Assignment 1 - Square root

Files

  • Recursion
  • Newton
  • Tail recursion

Assignment 2 - Map-reduce

Files

  • Fibonacci
  • Sum
  • Map-reduce

Assignment 3 - Binary tree

Files

  • Int set
  • Binary tree
  • Union / intersection / foreach

Assignment 4 - Lists and pattern matching

Files

  • Expression interpreter
  • Binary tree
  • List functions
  • Predicates (any / every)

Assignment 5 - High-order functions on lists

Files

  • High-order functions
  • Lists
  • Map
  • Fold
  • Zip
Description
Functional Programming course and exercises in Scala
Readme 76 KiB
Languages
Scala 98.7%
SuperCollider 1.3%