0
comment
comment
on 3/10/2015 9:52 AM
(TL;DR: Intro to the reader-monad in F# for dependency-injection – see the source) intro: the problem Let’s say you have a function f that needs an object implementing some interface to do it’s work. a dirty solution (not advised) Another solution that can work is to make the dependency a mutable part of your defining […]