<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>fsharppowerpack Discussions Rss Feed</title><link>http://fsharppowerpack.codeplex.com/Thread/List.aspx</link><description>fsharppowerpack Discussions Rss Description</description><item><title>New Post: F# CodeDom Compiler : 'The system cannot find the file specified'</title><link>http://fsharppowerpack.codeplex.com/discussions/272791</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You will need the full version of .NET on the server, rather than the 'Client Profile' version, but I guess you already have this.&lt;/p&gt;
&lt;p&gt;Next, you could look at which files are included in the standalone compiler, by looking in the fsharp.zip file at the url you gave.&lt;/p&gt;
&lt;p&gt;You could try copying these files to your application directory, from the main fsharp 'Program Files\Microsoft F#' directory on another PC. You may need to apply a .NET version redirect in a .config file to match versions between 2 and 4 - look for exception messages when you try to run your code with everything in place.&lt;/p&gt;
&lt;p&gt;I imagine the end result will be all the files from 'FSharpPowerPack-2.0.0.0\bin' and 'Microsoft F#\v4.0' locally copied to your application directory, plus a version redirect to fix-up problems because the PowerPack expects version 2.&lt;/p&gt;
&lt;p&gt;Give it a go - all at your own risk, of course.&lt;/p&gt;&lt;/div&gt;</description><author>Peter2060</author><pubDate>Mon, 30 Apr 2012 19:09:46 GMT</pubDate><guid isPermaLink="false">New Post: F# CodeDom Compiler : 'The system cannot find the file specified' 20120430070946P</guid></item><item><title>New Post: F# CodeDom Compiler : 'The system cannot find the file specified'</title><link>http://fsharppowerpack.codeplex.com/discussions/272791</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have a project in which I need to compile F# code during runtime and I got exactly the same issue when I installed the assemblies in the server. In the server I have of course the runtime libraries and the FSharp.Compiler.CodeDom.dll. Now, installing the standalone compiler really solves the issue (though I don't think this should be the way), but my concern is that the standalone compiler comes within a CTP release&amp;nbsp;http://www.microsoft.com/en-us/download/details.aspx?id=11100, is there any link where I can find the final release of f# 2.0 compiler?&lt;/p&gt;&lt;/div&gt;</description><author>smolina_74</author><pubDate>Mon, 30 Apr 2012 17:29:34 GMT</pubDate><guid isPermaLink="false">New Post: F# CodeDom Compiler : 'The system cannot find the file specified' 20120430052934P</guid></item><item><title>New Post: Clean XCopy install of F#, F# Power Pack and F# CodeDom?</title><link>http://fsharppowerpack.codeplex.com/discussions/280857</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'm using F# CodeDom in a .Net 4 C# app which is XCopy-installed to a network share for permission reasons.&lt;br /&gt; &lt;br /&gt; I want to put all the F# support files in a sub-directory of the main application directory, so I created an app.config with a 'probing private' path, and also a re-direct for FSharp.Core.dll version 2 -&amp;gt; 4.&lt;br /&gt; &lt;br /&gt; However, it still seems necesary to have fsc.exe and the FSharp.Core.* files in the application directory. The other fsc.exe support files can be put in the sub-directory, though, if a fsc.exe.config is used, in the same way as the app.config.&lt;br /&gt; &lt;br /&gt; I imagine the FSharp.Core.* files are needed in the application directory for use by fsc.exe, or the final CodeDom-compiled F#.&lt;br /&gt; &lt;br /&gt; I tried adding '--standalone' as a parameter in the call to the CodeDom compiler, but this did not remove the need for the FSharp.Core.* files in the application directory.&lt;/p&gt;
&lt;p&gt;Any way to have all the F# support files in the application sub-directory?&lt;/p&gt;&lt;/div&gt;</description><author>Peter2060</author><pubDate>Fri, 25 Nov 2011 19:55:56 GMT</pubDate><guid isPermaLink="false">New Post: Clean XCopy install of F#, F# Power Pack and F# CodeDom? 20111125075556P</guid></item><item><title>New Post: Beta?</title><link>http://fsharppowerpack.codeplex.com/discussions/277131</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;When is the PowerPack expected to be released?&lt;/p&gt;
&lt;/div&gt;</description><author>twisterjosh</author><pubDate>Tue, 25 Oct 2011 14:13:02 GMT</pubDate><guid isPermaLink="false">New Post: Beta? 20111025021302P</guid></item><item><title>New Post: F# CodeDom Compiler : 'The system cannot find the file specified'</title><link>http://fsharppowerpack.codeplex.com/discussions/272791</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Solution: needed to install 'Standalone compiler and tools' as well as F# PowerPack on user's PC.&lt;/p&gt;
&lt;p&gt;I had the above error after installing an app that uses F# CodeDom, on a user's PC.&lt;/p&gt;
&lt;p&gt;The error was actually thrown by System.Diagnostics.Process.Start(), when trying to launch the F# compiler.&lt;/p&gt;
&lt;p&gt;The solution was to install the standalone compiler and tools which are linked here:&lt;/p&gt;
&lt;p&gt;MSDN: 'Get the F# Compiler and tools'&lt;/p&gt;
&lt;p&gt;http://msdn.microsoft.com/en-us/fsharp/cc835251&lt;/p&gt;
&lt;/div&gt;</description><author>Peter2060</author><pubDate>Fri, 16 Sep 2011 08:04:31 GMT</pubDate><guid isPermaLink="false">New Post: F# CodeDom Compiler : 'The system cannot find the file specified' 20110916080431A</guid></item><item><title>New Post: PSeq.maxBy differs from Seq.maxBy?</title><link>http://fsharppowerpack.codeplex.com/discussions/267598</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Why is the type of PSeq.maxBy different from Seq.maxBy?&amp;nbsp; Is this a bug?&lt;/p&gt;
&lt;p style="padding-left:30px"&gt;Seq.maxBy:&amp;nbsp; ('a -&amp;gt; 'b) -&amp;gt; seq&amp;lt;'a&amp;gt; -&amp;gt; 'a&lt;/p&gt;
&lt;p style="padding-left:30px"&gt;PSeq.maxBy:&amp;nbsp; ('a -&amp;gt; 'b) -&amp;gt; seq&amp;lt;'a&amp;gt; -&amp;gt; 'b&lt;/p&gt;
&lt;div id="_mcePaste" style="width:1px; height:1px; overflow:hidden; top:0px; left:-10000px"&gt;
&amp;#65279;&lt;/div&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;&lt;span style="color:#008080"&gt;&amp;gt; let people = [ (&amp;quot;Steve&amp;quot;, 33); (&amp;quot;Al&amp;quot;, 41); (&amp;quot;Barbara&amp;quot;, 38) ];;

val people : (string * int) list =
  [(&amp;quot;Al&amp;quot;, 33); (&amp;quot;Barbara&amp;quot;, 41); (&amp;quot;Chuck&amp;quot;, 38)]


&amp;gt; Seq.maxBy snd people;;
val it : string * int = (&amp;quot;Al&amp;quot;, 41)

&amp;gt; PSeq.maxBy snd people;;
val it : int = 41
&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;If I want to answer the question &amp;quot;Who is oldest?&amp;quot;, I can write:&lt;/p&gt;
&lt;pre&gt;&lt;span style="color:#008080"&gt;people |&amp;gt; Seq.maxBy snd |&amp;gt; fst;;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;...but I cannot just change Seq to PSeq to parallelize it.&lt;/p&gt;
&lt;/div&gt;</description><author>spinard</author><pubDate>Wed, 03 Aug 2011 15:09:38 GMT</pubDate><guid isPermaLink="false">New Post: PSeq.maxBy differs from Seq.maxBy? 20110803030938P</guid></item><item><title>New Post: query to db4o</title><link>http://fsharppowerpack.codeplex.com/discussions/263599</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I guess I fixed that problem by rebuilding against CLR4.&lt;/p&gt;&lt;/div&gt;</description><author>davidgrenier</author><pubDate>Fri, 01 Jul 2011 18:28:14 GMT</pubDate><guid isPermaLink="false">New Post: query to db4o 20110701062814P</guid></item><item><title>New Post: query to db4o</title><link>http://fsharppowerpack.codeplex.com/discussions/263599</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I guess the following is a simpler example, I get roughly the same error:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; d = &amp;lt;@ fun _ -&amp;gt; &lt;span style="color: blue;"&gt;true&lt;/span&gt; @&amp;gt; |&amp;gt; QuotationEvaluator.ToLinqExpression
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;System.InvalidCastException: [A]LambdaTerm cannot be cast to [B]LambdaTerm. Type A originates &lt;span style="color: blue;"&gt;from&lt;/span&gt; &lt;span style="color: #a31515;"&gt;'FSharp.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'&lt;/span&gt; &lt;span style="color: blue;"&gt;in&lt;/span&gt; the context &lt;span style="color: #a31515;"&gt;'Default'&lt;/span&gt; at location &lt;span style="color: #a31515;"&gt;'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.0.0.0__b03f5f7f11d50a3a\FSharp.Core.dll'&lt;/span&gt;. Type B originates &lt;span style="color: blue;"&gt;from&lt;/span&gt; &lt;span style="color: #a31515;"&gt;'FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'&lt;/span&gt; &lt;span style="color: blue;"&gt;in&lt;/span&gt; the context &lt;span style="color: #a31515;"&gt;'Default'&lt;/span&gt; at location &lt;span style="color: #a31515;"&gt;'C:\WINDOWS\assembly\GAC_MSIL\FSharp.Core\2.0.0.0__b03f5f7f11d50a3a\FSharp.Core.dll'&lt;/span&gt;.
   at Microsoft.FSharp.Quotations.PatternsModule.LambdaPattern(FSharpExpr input)
   at Microsoft.FSharp.Linq.QuotationEvaluation.ConvExpr(ConvEnv env, FSharpExpr inp)
   at Microsoft.FSharp.Linq.QuotationEvaluation.Expr.ToLinqExpression(FSharpExpr )
   at &amp;lt;StartupCode$FSI_0003&amp;gt;.$FSI_0003.main@() &lt;span style="color: blue;"&gt;in&lt;/span&gt; C:\Bib\Projects\Lib\Database.fs:line 28
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;&lt;/div&gt;</description><author>davidgrenier</author><pubDate>Fri, 01 Jul 2011 18:13:05 GMT</pubDate><guid isPermaLink="false">New Post: query to db4o 20110701061305P</guid></item><item><title>New Post: query to db4o</title><link>http://fsharppowerpack.codeplex.com/discussions/263599</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm having problems with doing queries on top of db4o's IQueryable API...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;let&lt;/span&gt; &lt;span style="color:blue"&gt;get&lt;/span&gt;&amp;lt;&lt;span style="color:#a31515"&gt;'T when '&lt;/span&gt;T :&amp;gt; IStorable&amp;gt; filter =
    query &amp;lt;@ seq {
        use db = openDB()
        &lt;span style="color:blue"&gt;yield&lt;/span&gt;! db.AsQueryable&amp;lt;'T&amp;gt;()
                |&amp;gt; Seq.filter filter
                |&amp;gt; Seq.filter (fun o -&amp;gt; o.HistoricId.EffectiveDate &amp;lt;= DateTime.Now)
                |&amp;gt; Seq.groupBy (fun o -&amp;gt; o.HistoricId.Id)
                |&amp;gt; Seq.map (fun (_, seq) -&amp;gt; seq.OrderByDescending(fun t -&amp;gt; t.HistoricId.EffectiveDate).First())
                |&amp;gt; Seq.map (fun o -&amp;gt; &lt;span style="color:blue"&gt;if&lt;/span&gt; o.HistoricId.IsActive then Some o &lt;span style="color:blue"&gt;else&lt;/span&gt; None)
    } @&amp;gt;

&lt;span style="color:blue"&gt;let&lt;/span&gt; getAll&amp;lt;&lt;span style="color:#a31515"&gt;'T when '&lt;/span&gt;T :&amp;gt; IStorable&amp;gt; _ = &lt;span style="color:blue"&gt;get&lt;/span&gt;&amp;lt;'T&amp;gt;(fun _ -&amp;gt; &lt;span style="color:blue"&gt;true&lt;/span&gt;)
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When executing getAll&amp;lt;Client&amp;gt;();; above I get the following stacktrace:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;Binding session to &lt;span style="color:#a31515"&gt;'C:\Bib\Projects\dll\Db4objects.Db4o.Linq.dll'&lt;/span&gt;...
System.InvalidCastException: [A]CombTerm cannot be cast to [B]CombTerm. Type A originates &lt;span style="color:blue"&gt;from&lt;/span&gt; &lt;span style="color:#a31515"&gt;'FSharp.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'&lt;/span&gt; &lt;span style="color:blue"&gt;in&lt;/span&gt; the context &lt;span style="color:#a31515"&gt;'Default'&lt;/span&gt; at location &lt;span style="color:#a31515"&gt;'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.0.0.0__b03f5f7f11d50a3a\FSharp.Core.dll'&lt;/span&gt;. Type B originates &lt;span style="color:blue"&gt;from&lt;/span&gt; &lt;span style="color:#a31515"&gt;'FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'&lt;/span&gt; &lt;span style="color:blue"&gt;in&lt;/span&gt; the context &lt;span style="color:#a31515"&gt;'Default'&lt;/span&gt; at location &lt;span style="color:#a31515"&gt;'C:\WINDOWS\assembly\GAC_MSIL\FSharp.Core\2.0.0.0__b03f5f7f11d50a3a\FSharp.Core.dll'&lt;/span&gt;.
   at Microsoft.FSharp.Quotations.PatternsModule.CallPattern(FSharpExpr input)
   at Microsoft.FSharp.Quotations.DerivedPatternsModule.SpecificCallPattern@1713-1.Invoke(FSharpExpr tm)
   at Microsoft.FSharp.Linq.QueryModule.|SpecificPipedCall0|_|@61.Invoke(FSharpExpr _arg1)
   at Microsoft.FSharp.Linq.QueryModule.EvalOuterWithPostProcess@643(FSharpExpr tm)
   at Microsoft.FSharp.Linq.QueryModule.query[T](FSharpExpr`1 p)
   at FSI_0002.Database.getAll[T](Object _arg2) &lt;span style="color:blue"&gt;in&lt;/span&gt; C:\Bib\Projects\Lib\Database.fs:line 39
   at &amp;lt;StartupCode$FSI_0005&amp;gt;.$FSI_0005.main@()
Stopped due to error
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would assume this is unrelated to db4o but I don't think I'll figure this one out.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
&lt;/div&gt;</description><author>davidgrenier</author><pubDate>Fri, 01 Jul 2011 18:03:08 GMT</pubDate><guid isPermaLink="false">New Post: query to db4o 20110701060308P</guid></item><item><title>New Post: Operator '*' with Type constraint mismatch </title><link>http://fsharppowerpack.codeplex.com/discussions/262459</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I use the Powerpack matrix class. It is defining an operator * like &lt;br&gt;
&lt;br&gt;
/// Multiply each element of a matrix by the given scalar value &lt;br&gt;
static member ( * ) : Matrix * 'T -&amp;gt; Matrix &lt;br&gt;
&lt;br&gt;
However, I cannot use it in a generic function: &lt;br&gt;
&lt;br&gt;
// this works, I can use '*' if type is fixed, like int &lt;br&gt;
let mm = Matrix.Generic.ofSeq [[ 1; 2; 3];[ 4; 5; 6];[ 7; 8; 9]] &lt;br&gt;
let mmm = mm * 2 &lt;br&gt;
&lt;br&gt;
// Error 1 Type constraint mismatch when applying the default type 'Matrix' for a type inference variable.
&lt;br&gt;
// The resulting type would be infinite when unifying ''T' and 'Matrix' Consider adding further type constraints
&lt;br&gt;
let f2 (a:Matrix) (z:'T) = a*z &lt;br&gt;
&lt;br&gt;
I do not understand the error message of the compiler. What does it mean and how do I fix it?
&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</description><author>degloff</author><pubDate>Thu, 23 Jun 2011 08:27:59 GMT</pubDate><guid isPermaLink="false">New Post: Operator '*' with Type constraint mismatch  20110623082759A</guid></item><item><title>New Post: Is PowerPack installed?</title><link>http://fsharppowerpack.codeplex.com/discussions/241464</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Captain,&lt;/p&gt;
&lt;p&gt;How did the recompile work out for you?&lt;/p&gt;&lt;/div&gt;</description><author>JonnyBoats</author><pubDate>Mon, 11 Apr 2011 04:15:11 GMT</pubDate><guid isPermaLink="false">New Post: Is PowerPack installed? 20110411041511A</guid></item><item><title>New Post: fslex - matching unicode character groups.</title><link>http://fsharppowerpack.codeplex.com/discussions/248548</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You can use unicode character classes, e.g. see &lt;a href="http://blogs.msdn.com/b/dsyme/archive/2009/10/21/some-smaller-features-in-the-latest-release-of-f.aspx"&gt;http://blogs.msdn.com/b/dsyme/archive/2009/10/21/some-smaller-features-in-the-latest-release-of-f.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; letter = '\Lu' | '\Ll' | '\Lt' | '\Lm' | '\Lo' | '\Nl'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; surrogateChar = '\Cs'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; digit = '\Nd'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; connecting_char = '\Pc'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; combining_char = '\Mn' | '\Mc'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;let&lt;/span&gt; formatting_char = '\Cf' &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;The character classes are described here (also elsewhere online - they are, I believe, standard): &lt;a href="http://msdn.microsoft.com/en-us/library/20bw873z(v=vs.71).aspx"&gt;http://msdn.microsoft.com/en-us/library/20bw873z(v=vs.71).aspx&lt;/a&gt;, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>dsyme</author><pubDate>Tue, 08 Mar 2011 02:45:55 GMT</pubDate><guid isPermaLink="false">New Post: fslex - matching unicode character groups. 20110308024555A</guid></item><item><title>New Post: fslex - matching unicode character groups.</title><link>http://fsharppowerpack.codeplex.com/discussions/248548</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Such as Char.IsWhiteSpace(), Char.IsUpper() Char.IsPunctuation() etc. What is the best way to implement matching rules?&lt;/p&gt;
&lt;/div&gt;</description><author>schernichkin</author><pubDate>Sat, 05 Mar 2011 15:06:42 GMT</pubDate><guid isPermaLink="false">New Post: fslex - matching unicode character groups. 20110305030642P</guid></item><item><title>New Post: The namespace or module Matrix is not defined.</title><link>http://fsharppowerpack.codeplex.com/discussions/248013</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It utrns out I needed to add these two lines to the top of my script file:&lt;/p&gt;
&lt;p&gt;#r "FSharp.PowerPack.dll"&lt;br /&gt;#r "FSharp.PowerPack.Parallel.Seq.dll"&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;&lt;/div&gt;</description><author>rbunn83815</author><pubDate>Tue, 01 Mar 2011 17:01:13 GMT</pubDate><guid isPermaLink="false">New Post: The namespace or module Matrix is not defined. 20110301050113P</guid></item><item><title>New Post: The namespace or module Matrix is not defined.</title><link>http://fsharppowerpack.codeplex.com/discussions/248013</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I'm really new to F#, so sorry for asking such an elementary question:&lt;/p&gt;
&lt;p&gt;I have this snippet of code at the top of an Fsx file with PowerPack.dll 2.0.0.0 listed in my project references:&lt;/p&gt;
&lt;p&gt;open Microsoft.FSharp.Math&lt;br&gt;
&lt;br&gt;
// Flattens a 2D array into a sequence&lt;br&gt;
let array2D_to_seq arr =&lt;br&gt;
&amp;nbsp;&amp;nbsp; seq {for i in 0..Array2D.length1 arr - 1 do&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for j in 0..Array2D.length2 arr - 1 do yield arr.[i,j]}&lt;br&gt;
&lt;br&gt;
// Find maximum value in a matrix&lt;br&gt;
let max_value_in_matrix m =&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;gt; Matrix.Generic.toArray2D&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;gt; array2D_to_seq&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;gt; PSeq.max&lt;/p&gt;
&lt;p&gt;Both Matrix and PSeq have red squiggly lines underneath them saying &amp;quot;The namespace or module 'Matrix' is not defined.&amp;quot;&amp;nbsp; I must be missing something obvious, but for the life of me cannot see it.&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
&lt;/div&gt;</description><author>rbunn83815</author><pubDate>Tue, 01 Mar 2011 16:36:37 GMT</pubDate><guid isPermaLink="false">New Post: The namespace or module Matrix is not defined. 20110301043637P</guid></item><item><title>New Post: How to deploy for Mono 2.10?</title><link>http://fsharppowerpack.codeplex.com/discussions/246763</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;In Mono 2.10, the directory structure has been changed, especially, for FSharp's one.&lt;/p&gt;
&lt;p&gt;How do I deploy files in FSharpPowerPack.zip?&lt;/p&gt;
&lt;/div&gt;</description><author>dw3w4at</author><pubDate>Sat, 19 Feb 2011 22:18:04 GMT</pubDate><guid isPermaLink="false">New Post: How to deploy for Mono 2.10? 20110219101804P</guid></item><item><title>New Post: Problem with FSharp.PowerPack.Parallel.Seq</title><link>http://fsharppowerpack.codeplex.com/discussions/242952</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Kevin,&lt;/p&gt;
&lt;p&gt;I've lost the context a little, could you list the specific problem again?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; - Is this Mono or Windows CLR?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; - Is this just a problem with fshtmldoc.exe? Or are you unable to use any of the libraries?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; - Have you tried just addingt the powerpack modules you want to use in source form to your own projects?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;don&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>dsyme</author><pubDate>Mon, 14 Feb 2011 17:02:37 GMT</pubDate><guid isPermaLink="false">New Post: Problem with FSharp.PowerPack.Parallel.Seq 20110214050237P</guid></item><item><title>New Post: Problem with FSharp.PowerPack.Parallel.Seq</title><link>http://fsharppowerpack.codeplex.com/Thread/View.aspx?ThreadId=242952</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;It's been a few weeks since I asked this question.&amp;nbsp; Does anyone know what's going on with this?&amp;nbsp; Do fshtml.exe and the PowerPack libraries other than Parallel.Seq require an earlier version of .Net?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>kevinsvanhorn</author><pubDate>Mon, 07 Feb 2011 18:37:37 GMT</pubDate><guid isPermaLink="false">New Post: Problem with FSharp.PowerPack.Parallel.Seq 20110207063737P</guid></item><item><title>New Post: Problem with FSharp.PowerPack.Parallel.Seq</title><link>http://fsharppowerpack.codeplex.com/Thread/View.aspx?ThreadId=242952</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Thanks for the help.&amp;nbsp; I'm confused as to what's going on with Mono, though.&amp;nbsp; I'm running Mono 2.8.2, and the information I've found indicates that it's supposed to default to a .Net 4.0 profile.&amp;nbsp; Furthermore, running&lt;/p&gt;
&lt;p&gt;&lt;code&gt;fsharpi --noframework -r /Library/Frameworks/Mono.framework/Libraries/mono/4.0/mscorlib.dll&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;immediately gives me the&amp;nbsp; error&lt;/p&gt;
&lt;p&gt;&lt;code&gt;error FS0219: The referenced or default base CLI library 'mscorlib' is binary-incompatible with the referenced F# core library '/usr/lib/fsharp/FSharp.Core.dll'. Consider recompiling the library or making an explicit reference to a version of this
 library that matches the CLI version you are using.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;whereas substituting 2.0 for 4.0 starts up fine, which seems to indicate that FSharp.Core.dll wants the 2.0 profile.&amp;nbsp; (BTW, as far as I can tell this is the most recent CTP version of F# -- I downloaded the most recent version (November 10 Update) from
 fxsplat.codeplex.com, in particular, the Mac installer.&amp;nbsp; Furthermore, when fsharpi starts up it identifies itself as F# 2.0 Interactive build 2.0.0.0 .)&lt;/p&gt;
&lt;p&gt;On Windows, I do in fact have .NET 4.0 installed -- c:\windows\Microsoft.NET\Framework\v4.0.30319 is there.&lt;/p&gt;
&lt;p&gt;I am using Visual Studio 2010 Shell.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>kevinsvanhorn</author><pubDate>Tue, 25 Jan 2011 05:20:02 GMT</pubDate><guid isPermaLink="false">New Post: Problem with FSharp.PowerPack.Parallel.Seq 20110125052002A</guid></item><item><title>New Post: Problem with FSharp.PowerPack.Parallel.Seq</title><link>http://fsharppowerpack.codeplex.com/Thread/View.aspx?ThreadId=242952</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;These issues stem from the fact that FSharp.PowerPack.Parallel.Seq.dll is a .NET 4.0 component.&lt;/p&gt;
&lt;p&gt;On Linux/Mono, the default profile for F# is Mono's equivalent of .NET 3.5. To run F# code on .NET 4.0 I think you'll need to change some Mono settings, and possible reference the Mono 4.0 profile mscorlib.dll directly.&lt;/p&gt;
&lt;p&gt;On Windows, I think either&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;maybe you don't have .NET 4.0 installed (check for c:\windows\Microsoft.NET\Framework\v4.0.30319),
&lt;/li&gt;&lt;li&gt;this may be a specific problem with fshtml.exe, it is possible &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Which version of Visual Studio do you have on Windows (if any?)&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;don&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>dsyme</author><pubDate>Mon, 24 Jan 2011 13:47:05 GMT</pubDate><guid isPermaLink="false">New Post: Problem with FSharp.PowerPack.Parallel.Seq 20110124014705P</guid></item></channel></rss>