let indices = Seq.unfold (fun x -> Some(x, x + 1)) 0 let zipWithIndex coll = Seq.zip coll indices printfn "%A" ([12; 8; 9; 90, 3; 24] |> zipWithIndex |> Seq.minBy fst)
Standard input is empty
/home/biwmPC/prog.fs(5,26): error FS0001: This expression was expected to have type
int
but here has type
'a * 'b
Standard output is empty