Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences Between Hugs, Yhc and GHCi [closed]

There are differences between Hugs, Yhc and GHCi? If there are differences, What are they?

like image 644
Nathan Campos Avatar asked Nov 08 '09 22:11

Nathan Campos


4 Answers

First: you want GHC/GHCi. And you want it via the Haskell Platform. Then, for more info on the other implementations of Haskell, read Bartek's link.

like image 38
Don Stewart Avatar answered Oct 27 '22 20:10

Don Stewart


Update: Hugs is unmaintained.

They are all just different implementations. I would try and explain the differences but this article does a much better job.

like image 178
Bartek Avatar answered Oct 27 '22 19:10

Bartek


Usually people use Hugs for small, testing-type prototypes (analogously to how Ruby users would use irb and Python users would use the interpreter), but for actual shipping code, GHC is by far the most popular target (analogous to how Python users would compile import modules to cpython).

They're all pretty much standards-compliant, its a matter of speed of performance vs speed of compilation.

(Dunno much about Yhc)

like image 6
Adrian Petrescu Avatar answered Oct 27 '22 19:10

Adrian Petrescu


These days people kind of converge to using GHC, as it's the de facto standard.

like image 6
Wei Hu Avatar answered Oct 27 '22 21:10

Wei Hu