Advertisement
Guest User

< 100 lines

a guest
Jul 27th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.24 KB | None | 0 0
  1. let run make proc report : seq<string> =
  2.   Seq.initInfinite(fun _ -> System.Console.ReadLine())
  3.   |> Seq.takeWhile(fun line -> line <> null)
  4.   |> Seq.map(make >> proc)
  5.   |> Async.Parallel
  6.   |> Async.RunSynchronously
  7.   |> Seq.map(report)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement