Dependency rejection

A brown bag / workshop based on Mark Seemann's excellent NDC London presentation / blog series.

Resources

Agenda

  • A note about what it means to be "functional" - will later drive by Haskell
  • What are we trying to do? DI in F#
  • Example of C# constructor injection
  • Example of F# partial application
  • Decompiling the F# partial application to C#
  • Functional purity
    • Haskell IO type
    • LOL F#
  • Function composition
    • Reject composition
    • Pure and impure sandwich
  • Brief mention of Ports and Adapters