Some extensions to the F# core library