{"id":55941,"date":"2010-02-10T19:06:00","date_gmt":"2010-02-10T19:06:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/pfxteam\/2010\/02\/10\/f-powerpack-supports-plinq\/"},"modified":"2010-02-10T19:06:00","modified_gmt":"2010-02-10T19:06:00","slug":"f-powerpack-supports-plinq","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/f-powerpack-supports-plinq\/","title":{"rendered":"F# PowerPack supports PLINQ"},"content":{"rendered":"<p>The F# team has released the F# PowerPack for download on <a href=\"https:\/\/fsharppowerpack.codeplex.com\/\">CodePlex<\/a>, and we&#8217;re very excited that the PowerPack now has direct support for PLINQ.&nbsp; From the CodePlex site:<\/p>\n<blockquote>\n<p><strong>F# Parallel LINQ Integration<br><\/strong>FSharp.PowerPack.Parallel.dll provides an F#-style API for parallel operations on sequences that are part of .NET 4.0 as <span class=\"codeInline\"><span style=\"font-family: Consolas\">System.Linq.ParallelEnumerable<\/span><\/span> class. The API is akin to F# operations on sequences:<\/p>\n<p>let nums = [|1..500000|]<br>let finalDigitOfPrimes = <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nums <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&gt; PSeq.filter isPrime<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&gt; PSeq.groupBy (fun i -&gt; i % 10)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&gt; PSeq.map (fun (k, vs) -&gt; (k, Seq.length vs))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&gt; PSeq.toArray&nbsp; <\/p>\n<\/blockquote>\n<p>Enjoy!<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The F# team has released the F# PowerPack for download on CodePlex, and we&#8217;re very excited that the PowerPack now has direct support for PLINQ.&nbsp; From the CodePlex site: F# Parallel LINQ IntegrationFSharp.PowerPack.Parallel.dll provides an F#-style API for parallel operations on sequences that are part of .NET 4.0 as System.Linq.ParallelEnumerable class. The API is akin [&hellip;]<\/p>\n","protected":false},"author":360,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7908],"tags":[7907,73,7909,7910],"class_list":["post-55941","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pfxteam","tag-net-4","tag-f","tag-parallel-extensions","tag-plinq"],"acf":[],"blog_post_summary":"<p>The F# team has released the F# PowerPack for download on CodePlex, and we&#8217;re very excited that the PowerPack now has direct support for PLINQ.&nbsp; From the CodePlex site: F# Parallel LINQ IntegrationFSharp.PowerPack.Parallel.dll provides an F#-style API for parallel operations on sequences that are part of .NET 4.0 as System.Linq.ParallelEnumerable class. The API is akin [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/55941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/360"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=55941"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/55941\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=55941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=55941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=55941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}