re: Write a simple but impactful script VIEW POST

FULL DISCUSSION
 

F#

do
    let rnd = System.Random()
    use file = System.IO.File.CreateText("leaked_pins.txt")

    [0..9999]
    |> Seq.sortBy (fun _ -> rnd.Next())
    |> Seq.iter (fprintfn file "%04d")
code of conduct - report abuse