Fsharp generator