Implementing a Stack in F#. Tail Recursion.

Since Push requires stacks to manipulate its data, we need an implementation of this data structure. There is of course a .NET implementation, however, it is not a "functional" data structure, in a sense that it is mutable. It is easy enough to implement our own, purely functional, immutable stack. F# list is a logical … Continue reading Implementing a Stack in F#. Tail Recursion.