In-memory Drain abstractions applied to A Functional Architecture with F#

This post shows how to apply the Drain filter abstraction to the master branch of the Pluralsight course about A Functional Architecture with F# by Mark Seemann.

As the diff-output shows, applying filtering with Drains cuts the maintenance of multiple homogenous abstractions, and makes the code cleaner and easier to reason about.

For or a better diff-output highlighting experience, there is also a Gist available here.

To apply the diff, access the source code by getting a Pluralsight subscription which is totally worth it for this course.


---

Author

Nikos Baxevanis
プログラマー

Tags

Feedback

Have feedback on this post? Let @nikosbaxevanis know on twitter. Need help or found a bug? Contact me.