Do I need to install any additional library to use Array.Parallel.map in F # running on Mono?

I built mono-2.10.2 from source and installed fsharp packages from http://fsxplat.codeplex.com/ . But I have this program that works without error on Windows but not Linux / Mono. He is complaining about the following error:

error FS0039: The value, onstructor, namespace or type 'Parallel' is not defined

Parallel extensions seem to be still missing.

+3


source to share


1 answer


In principle, no.

I installed the Mono package release 2.10.4 , which includes the F # package by default. Parallel extensions work fine, so I can use Array.Parallel.map

.



In your case, I assume the fsharp package is outdated and does not include concurrent extensions. You must install F # from source using the updated and Mono-friendly version on github . Detailed instructions on this issue can be found here .

+2


source







All Articles