Reflection

Generic programming is a style of computer programming in which algorithms are written in terms of types to-be-specified-later that are then instantiated when needed for specific types provided as parameters1. Generic programming was part of .NET since .NET Version 2.0 and has a fascinating history as well! For most of the use cases which involves generics, implementing them in F# is a cake-walk. However, when the generic programming requires reflection, it becomes a bumpy ride.

CONTINUE READING