Top "Ghc" questions

Glasgow Haskell Compiler is a state-of-the-art, open source compiler and interactive environment for the functional language Haskell.

Why is Haskell (GHC) so darn fast?

Haskell (with the GHC compiler) is a lot faster than you'd expect. Used correctly, it can get close-ish to low-level …

performance haskell ghc higher-order-functions lambda-calculus
What does the `forall` keyword in Haskell/GHC do?

I'm beginning to understand how the forall keyword is used in so-called "existential types" like this: data ShowBox = forall s. …

haskell syntax types ghc forall
How can I uninstall a version of a Cabal package?

Happstack Lite is breaking on me because it's getting blaze-html version 0.5 and it wants version 0.4. Cabal says that both versions 0.4.3.4 …

haskell ghc cabal
How to run a Haskell file in interpreted mode

I've been told you can interpret Haskell files (which I assume means they will work like Ruby/Python/Perl). I …

haskell ghc ghci interpreted-language
How to execute a command right after a fetch or pull command in git?

I cloned the GHC (Glasgow Haskell Compiler) repository. In order to build the compiler, you need several libraries, all of …

git ghc githooks
Difference between print and putStrLn in Haskell

I am confused. I tried to use print, but I know people apply putStrLn. What are the real differences between …

haskell printing ghc
Haskell Error - Naked Expression at Top Level

I have the following code: fib n | n == 0 = 0 | n == 1 = 1 | n > 1 = fib (n-1) + fib (n-2) print fib 5 And for some …

haskell ghc
Transitivity of Auto-Specialization in GHC

From the docs for GHC 7.6: [Y]ou often don't even need the SPECIALIZE pragma in the first place. When compiling …

haskell ghc
Installing ghc binaries on Linux (can't find libgmp.so)

I am trying to install the Haskell Platform on Linux for the first time (I'm also a fairly new Linux …

linux haskell installation ghc
Why is GHC so large/big?

Is there a simple answer: Why is GHC so big? OCaml: 2MB Python: 15MB SBCL: 9MB OpenJRE - 26MB GHC: 113…

haskell ghc