Which language is better for general purpose programming, F # or Haskell?

I am currently studying Haskell, in which language (F # or Haskell) do you prefer to program general-purpose applications?

What, in your opinion, is a stronger language?

+5
source share
7 answers

I will go to Haskell. HackageDB is a great collection of libraries written specifically for the language. In the case of F #, you will have to use mostly libraries that are not written with a functional language, so they will not be "elegant" to use. But, of course, this largely depends on how much functional programming you want to do, and on the limitations of the project for which you want to use it. Even "general purpose" does not mean that it should be used in all cases;)

+19
source

I prefer Haskell.

, Haskell , , . , . F # GHC:

  • F # , GHC - . : vi, Unix . F # . , Visual Studio, .

  • F # / .NET. , . GHC , . ( - ), , Haskell, . .

  • . , , ? , , , , . Haskell, , , .NET, , API .

, F # , GHC , FFI. Windows DDE Haskell (, , C, Windows C), , C ++. , Haskell, , .

"" - . Haskell , , , , , , . F # .NET.

, , , , : "Unixy world" GHC, "Windowsy world" F #, .NET, .

+25

F #, .NET. , .

+9

, :

Haskell - .

F # , , , Windows Mono.

+8

, - Haskell. , , , F # OCaml, . , Haskell, Haskell , F # OCaml. , F # , Microsoft , , Haskell .

, 2 3 OCaml , Haskell , , .

+6
source

You can find this blog post by Neal Mitchell:

F # From the Haskell Perspective

Comments are also highlighted.

+4
source

I would say it depends on why you study it. If you do this for a pure functional language experience, head to Haskell. But if you are definitely going to use the language for more, F # might be the best choice.

+2
source

All Articles