Don Syme has been telling me again and again to make my experiences with F# more widely available by putting it on my blog; here is my first attempt at "being a better boy".
I am a big fan of F# and I have recently posted an on hubFS a piece of source code for reading from a SQL stream by using the IEnumerable class. However, the code there had two problems:
We have both looked into the issue and rewrote the actual implementation of IEnumerable.unfold to remedy the issues. Here is the new code that allows to specifcy not only the compute function but also the initialisation and closing function.
module
Now it is clear how to give the SQL reader via IEnumerables back the functionality that was missing, isn't it?