F# and duality