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