-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to use F# for an ASP.NET MVC application. One my controller actions sends an F# list to the view, so I write:
<%@ Page Language="C#" Inherits="ViewPage<FSharpList<int>>" %>
Of course, for this to work, I have to add Microsoft.FSharp.Collections to the namespaces element…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here's my test code to isolate the problem:
open Microsoft.FSharp.Metadata
[<EntryPoint>]
let main args =
let core = FSharpAssembly.FromFile @"C:\Program Files\FSharp-2.0.0.0\\bin\FSharp.Core.dll"
let core2 = FSharpAssembly.FSharpLibrary
let core3 = System.AppDomain.CurrentDomain.GetAssemblies()…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I have this monstrous f# 2.0 program
My mono version is
Mono JIT compiler version 2.9 (master/f593354 Sun Dec 26 03:15:55 EET 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to deploy a web application which uses F# 4.0 on Windows Server 2008.
It works on my computer where VS2010 is installed but it doesn't work on the server. Everytime you open the page you'll get this error message:
Could not load file or assembly 'FSharp.Core, Version=4.0.0.0, Culture=neutral…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using FSharp.Compiler.CodeDom to dynamically create F# classes. The problem is, that I have both VS2008 and VS2010 on my computer side-by-side (they works fine), and using F# in this configuration is buggy at best:
If I don't install InstallFSharp.msi, then under VS2008 the built classes complain…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I'm currently running the latest version of MAMP on my Snow Leopard OSX, and I'm trying to install MySQLDB.
Downloaded:
MySQL-python-1.2.3c1
I went into the setup_posix.py and adjusted the location of the mysql_config to the one in MAMP: mysql_config.path = "/Applications/MAMP/Library/bin/mysql_config"
When…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This is probably a very difficult problem to troubleshoot with the information I can practically provide, but I'm hoping someone might be able to at least point me in a possible direction.
I'm trying to install HTK (http://htk.eng.cam.ac.uk/), which, according to this page needs to be installed using…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
this has been killing me for the last 5 hours. I don't seem to be able to get eventmachine running on my debian box.
here this output:
$ gem install thin
Building native extensions. This could take a while...
ERROR: Error installing thin:
ERROR: Failed to build gem native extension.
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I just came across various overloading methods like type of parameter passed, varying number of parameters, return type etc. I just want to know that can I overload a function with following two version
//function which can modify member
String& MyClass::doSomething();
//constant member…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I was writing a foreach Loop in PHP5.
Here is the script:
foreach(range('A','Z') as $char) // line 1
{ // line 2
echo strtoupper($char)strtolower($char); // line 3
} // line 4
And I got this error message
Parse error: parse error, unexpected T_STRING in testing.php on line 3
I spent almost…
>>> More