2009-07-07 5 views

Répondre

7

Utilisez la fonction iteri:

let sequence = Seq.initInfinite (fun _ -> "Element") 
sequence |> Seq.iteri (fun i _ -> printfn "Element no. %d" i) 
Questions connexes