How is dependency inversion related to higher order functions?

Posted by Gulshan on Programmers See other posts from Programmers or by Gulshan
Published on 2011-08-25T04:11:05Z Indexed on 2012/05/31 16:50 UTC
Read the original article Hit count: 363

Today I've just seen this article which described the relevance of SOLID principle in F# development-

F# and Design principles – SOLID

And while addressing the last one - "Dependency inversion principle", the author said:

From a functional point of view, these containers and injection concepts can be solved with a simple higher order function, or hole-in-the-middle type pattern which are built right into the language.

But he didn't explain it further. So, my question is, how is the dependency inversion related to higher order functions?

© Programmers or respective owner

Related posts about functional-programming

Related posts about solid