New answers tagged

2

One small improvement. You can remove one of the recursive calles which improves readability and enables the compiler to use tail recursion: let rec sieve xs count maxNumb = if count = maxNumb then xs else let xs' = if xs |> Array.contains count then xs |> Array.filter (fun ys -> ys % count <> 0. || ...


Top 50 recent answers are included