Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use F# with mono on linux?

Tags:

linux

mono

f#

I have had difficulty figuring out how to use F# on Linux - I would really appreciate help.

like image 847
keke Avatar asked Nov 01 '09 22:11

keke


2 Answers

Well, My box: Ubuntu, mono, fsharp, emacs and fsharp-mode

with fsharp-mode you have

  1. highlighting
  2. interactive console
  3. emacs :-).

Also, you can try to install .net 2.0 on wine (with winetricks for example) together with sharpdevelop 2.2.

Personaly i've decided to use emacs and fsharp-mode.

UPDATE:

another option is to use regular editor such as kate in OCaml mode but it can be inconvenient due to differences between languages.

like image 88
Ilya Khaprov Avatar answered Oct 04 '22 09:10

Ilya Khaprov


Here's a similar question with detailed answers: How to get F# working with Mono?

Simple example of compilation command can be found at here: http://gist.github.com/raw/144209/02f2f4450ed8261c5e4f3c18055de89ff0db9612/FebKit.fs

like image 29
Piotr Zurek Avatar answered Oct 04 '22 08:10

Piotr Zurek