r/functionalprogramming • u/haruda_gondi • Dec 09 '23
Question Which functional programming language has the best build system/tooling?
By build system, I mean something like Haskell's Stack or Cabal. By tooling, I mean IDEs or language servers.
69
Upvotes
31
u/Hephlathio Dec 09 '23
In terms of build+tooling, I’d agree with F# being ahead of the pack. All of VS, Rider and VS Code offer pretty good experiences. Apart from that, Elixir perhaps?
24
u/yeastyboi Dec 09 '23
In the past 10 years OCaml has gotten really good with dune and Opam. Unfortunately most of that comes from a single company (Jane Street).
45
u/dominjaniec Dec 09 '23
fsharp - it's dotnet, nuget world, paket even better, fake for building, farmer for deployment, all in F#
moreover from years .NET is cross platform out of the box 😏
16
u/e-nog Dec 09 '23
dune (OCaml) is pretty good
14
u/TankorSmash Dec 09 '23
Elm has an LSP obviously, but the tooling is next level:
Haskell has a decent package manager and the LSP is nice if you can get it set up. Hoogle is very nice too, and Haskell's docs use a searchable format, which is very nice
17
u/Optimal-Builder-2816 Dec 09 '23
Clojure is pretty mature for a lisp
5
u/Medical-Detective-33 Dec 10 '23
OCaml is pretty good. Dune is a nice build system with not too much overhead and opam is a nice package manager.
Within that Coq uses OCaml's build system. Proof general for emacs is great.
Haskell stack and cabal aren't too bad.
Within Haskell's framework there's agda. Agda is great to program with in emacs but it's annoying to set up its dependencies.
10
u/lunjon Dec 09 '23
Elixir.
10
u/ChristianGeek Dec 09 '23
It depends on how pure of a functional language you’re talking. Scala and IntelliJ is a great combination.
3
u/akshay-nair Dec 10 '23
Racket
3
u/darctones Dec 10 '23
Can someone provide a good definition of a functional programming language?
3
u/cjwcommuny Dec 12 '23
rust…
9
u/UserPuser Dec 09 '23
f# I guess?
7
u/Martinsos Dec 09 '23
Haskell is in a pretty good spot these days! Cabal is quite easy to use, GHCup made installation / version management trivial, and language server is great. Vsvode extension works out if the box, Emacs and vim are not hard to set up.
5
u/dbotton Dec 10 '23
Without question Common Lisp and Emacs
7
u/[deleted] Dec 09 '23
Haskell
2
u/[deleted] Dec 10 '23
Rstudio!
2
u/Teggom38 Dec 10 '23
R
2
u/MonadTran Dec 13 '23
OK, and what do you mean by "functional"? Pure functional or hybrid? There are not that many pure functional languages, and Haskell is probably the most mature of those.
3
u/[deleted] Dec 09 '23
Kotlin + Arrow + Gradle + IntelliJ is pretty good.
1
u/delfV Dec 09 '23
Maybe not exactly what you're asking for but pretty much every Lisp dialect because of REPL (tooling)
-12
u/[deleted] Dec 09 '23
[removed] — view removed comment