4 ms·
This sounds swell! BTW: Tomas Petricek's "Real-world functional progamming" as well as "Expert F#" by Don Syme are excellent introductions to the language.
by fsloth 12y ago
This sounds swell!
BTW: Tomas Petricek's "Real-world functional progamming" as well as "Expert F#" by Don Syme are excellent introductions to the language.
- jarcane 12y agoThanks! I hadn't head of either book yet. Looks like there's at least some content from RWFP on MSDN here: http://msdn.microsoft.com/en-us/library/vstudio/hh314518(v=vs.100).aspx http://msdn.microsoft.com/en-us/library/vstudio/hh314518(v=v...
- melling 12y agoAre there any guides to getting started quickly on Mac and Linux? Is F# baked enough in Mono to be useful?
- igl 12y agoI asked myself the same question, seeking for ressources on the web and help on irc and i concluded that unfortunately the f# community is mainly a windows community. Mono is quite a niche.
- mmavnn 12y agoIt is mainly Windows, but as stated in a few other answers people are using Mono in production. How long ago did you look around? I have to admit that it's only really become fully practical (in my mind) in the last 6 months or so.
- kvb 12y agoI can't personally vouch for them, but perhaps try http://fsharp.org/use/mac/ http://fsharp.org/use/mac/ and http://fsharp.org/use/linux/ http://fsharp.org/use/linux/, or the more in-depth http://fsharp.org/guides/mac-linux-cross-platform/ http://fsharp.org/guides/mac-linux-cross-platform/?
- lennel 12y agoI know that one of the teams at my work has deployed a few tools on mono written in F#. I play with mono and f# (nix) and I was surprised with how mature mono develop was (I had very low expectations)- I have not used it in anger however, so things like profiling and such I have not even taken a peak at.
- mmavnn 12y agoThere are definitely people using F# on Mono in production, but it is the smaller brother still. Having said that, nearly all of the "core" projects are now being CI tested on mono as well as windows, and the fsharpbindings project provides autocompletion for Vim and Emacs (+ powers the MonoDevelop/Xamarin Studio F# support as well). I'm having great fun writing F# code in Linux with Vim - now that .fsx (F# script) files have proper #! support you can just write fsx files with full highlighting, error checking and autocompletion in place and then run them with supervisord.
- vosper 12y agoWhat are the pain points (if any) that you've encountered? I've been wanting to use F# on Linux for a while now.
- mmavnn 12y agoThe lack of good instructions is definitely one! (Edit: although http://fsharp.org/use/linux/ http://fsharp.org/use/linux/ covers the absolute basics pretty well) Up until recently, packaging was a bit of an issue, but recently the official Mono repositories have started being much more up to date again, and now include recent versions of F# as well: http://www.mono-project.com/download/#download-lin http://www.mono-project.com/download/#download-lin Getting vim support is still a case of cloning the project from github https://github.com/fsharp/fsharpbinding https://github.com/fsharp/fsharpbinding and running make in the vim directory - Vim 7.4+, make, python and a couple of other vim plugins required. After that, things can start getting pretty nice. For (my only public) example, https://github.com/mavnn/Advent2014 https://github.com/mavnn/Advent2014 shows how you can use fsx scripts and paket (a package manager compatible with nuget.org and taking source dependencies from github) to create a nice little project without needing to get into any of the Visual Studio project file nastiness. Of course, if you need to work on an existing project, the Vim bindings know about how to handle that too - but actually editing project files is still a pain. One word of caution: there's currently a bug in the packaging for rpm: I'd go with Debian/Ubuntu packages at the moment. And as a final option, building from source is slow but has become pretty reliable over the last year or so.
- dominotw 12y ago>Tomas Petricek's "Real-world functional progamming" as well as "Expert F#" by Don Syme are excellent introductions to the language. I found both books kind of lacking, the former has examples in C# which I found distracting and the latter was too dry. If F# gets a book in the league of "joy of clojure" it would greatly help push F# into the mainstream. Meanwhile, this is the best book if you like doing exercises as you learn( why wouldn't you? ). Not sure why the book is so underrated. http://www.amazon.com/Functional-Programming-Using-Michael-Hansen-ebook/dp/B00CARIB52/ http://www.amazon.com/Functional-Programming-Using-Michael-H...
- Rapzid 12y agoI've read large portions of these books and... I found this site a bit more "insiteful" if not as comprehensive:http://fsharpforfunandprofit.com/ http://fsharpforfunandprofit.com/ . This guy does fsharp consulting but there is a WEALTH of good information in the series he has posted.
- fsloth 12y agoThe academic nerd in me demands I add other references as well :) Other resources I found usefull for F# were Sestoft's "Programming language concepts" which uses F# to teach about interpreters and compilers and Flying frog consultancy's "F# Journal".