0
comment
comment
on 7/2/2014 12:17 AM
Yesterday I came across a handy loan payment calculator in C# by Jonathon Wood via Alvin Ashcraft’s Morning Dew links. The implementation appears to be idiomatic C# using a class, mutable properties and wrapped in a host console application to display the results. I thought it’d be fun to spend a few moments re-implementing it in F# so it can be executed in F# interactive as a script or a console application. Rather than use a class, I’ve plumped for a record type that captures all the required fields: [...]