Skip to content

fkowal/fp-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Maciej Kowalski
Mar 11, 2019
7b47f86 · Mar 11, 2019

History

37 Commits
Mar 11, 2019
Jan 11, 2019
Jan 23, 2019
Mar 11, 2019
Mar 11, 2019
May 10, 2018
Jun 25, 2018
Jun 25, 2018
Jan 15, 2019
Mar 11, 2019
Mar 11, 2019
Mar 11, 2019
Jan 11, 2019
Jan 11, 2019
May 10, 2018

Repository files navigation

Agenda

  • Intro
  • Problem specification (solution FP with Spring)
    • fp/spring
  • Intro to Scala
    • test/fp/basics
    • test/fp/typeclasses/MaybeSpec
  • Get to know your Typeclasses
    • fp/typeclasses/
      • ShowSpec
      • EqSpec
      • CsvEncoderSpec
  • FP patterns
    • fp/typeclasses/

Basic scala

(types.scala)

  • Product, Coproduct
  • ADT (algebraic data types)
  • forcomprehension = flatMap + map
  • Universal types
  • implicit parameters
  • implicit classes

Functions

(functions.scala)

  • Function composition
  • Polimorphic functions
  • Identity function

Typeclasses

(typeclasses.scala)

  • Adhoc polimorphism
  • map, flatMap

Functional patterns

(patterns.scala)

  • Monoid
  • Functor
  • Applicative
  • Monad

Generic programming

  • Use of typeclasses for the greater good :)
  • Introduction into generic programming
  • Singleton type
  • Symbols
  • CSV generator
  • Diff

Java - Scala Cheatsheet

Scala Cheatsheet

Read more

About

Functional programming course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published