I got both ghc6 and ghc7 on my desktop. To install new packages (for the specific ghc version), I use cabal with the flag --with-compiler=<ghc-dir> to specify开发者_C百科 for which ghc i want th
I define my own version of concat, myConcat: module Eh where myConcat []= [] myConcat ([]:os)= myConcat os
I\'m trying to install GHC with -fPIC support in Fedora. I\'ve grabbed a source tarball since it seems no binary one has this.
I\'m using the GHC to build a haskell pogram for Windows with help of a speciefic (Haskell-)Libr开发者_Python百科ary which is called citeproc-hs. On a 32Bit-Windows XP machine the application works ju
I\'ve got the feeling that the answer is yes, and that\'s not restricted to Haskell.For example, tail-call optimization changes memory requirements from O(n) to O(l), right?
I have compiled a Haskell program with GHC with enabled profiling. $ ./server +RTS -M6m -p -RTS I get a profile like:
I\'m working on the wxHaskell library, and wishing to keep my development work sepa开发者_如何学运维rate from the stable wxHaskell from hackage I\'m using cabal-dev in the following manner:
I\'m trying to find a good way to memoize a function for only part of its domain (non-negative integers) in Haskell, using Data.MemoCombinators.
In a Haskell program compiled with GHC, is it possible to programmatically guard against excessive memory usage?That is, have it notify the program when memory usage reaches a specified limit, prefera
I am getting my feet wet writing concurrent programs in Haskell with GHC for multicore machines. As a first step I decided to write a program that reads and writes concurrently to an IOArray. I had th