Differences Between Hugs, Yhc and GHCi [closed]
Asked Answered
K

5

18

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

Kamp answered 8/11, 2009 at 22:27 Comment(0)
E
20

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.

Empyrean answered 8/11, 2009 at 22:30 Comment(0)
S
14

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.

Stoker answered 8/11, 2009 at 22:41 Comment(3)
Unless you're using any version of Mac OS X besides 10.5, in which case the default GHC/Haskell Platform install doesn't work right.Aleta
@Aleta This is giving me all kinds of grief after a recent update to OS X 10.8 Mountain Lion. Is the only solution to go with Hugs until the developers of GHC decide to support 10.8 properly?Yandell
As of Sep 2012, GHC works just fine with Mountain Lion, you just need to upgrade XCode.Stoker
L
6

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)

Llamas answered 8/11, 2009 at 22:34 Comment(1)
GHCi has a better REPL than Hugs nowadays, BTW.Aleta
D
6

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

Dys answered 11/11, 2009 at 21:33 Comment(0)
S
-3

Hugs is a version of Haskell that started out on Linux and is therefore better optimised for it.

Stipulation answered 25/4, 2018 at 11:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.