my contribution to the F# advents calendar