A native F# port of the NiceTry project.