Advertisement
Guest User

Untitled

a guest
Dec 24th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.26 KB | None | 0 0
  1. let ReadAndCalc (name)  =
  2.     let linest =  File.ReadLines(name) |> Seq.toList
  3.     let calc =   [for i in linest -> async { return  (integral ((coef (i)|>Seq.toList))  ((boards (i)).Head) ((boards(i)).Tail.Head))}]
  4.     Async.RunSynchronously (Async.Parallel calc)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement