ghc
Undefined symbol in a Hackage package `double-conversion`
I\'m trying to build the double-conversion package from Hackage. It builds OK but ghci can\'t load it. The complaint is:[详细]
2023-03-19 13:30 分类:问答Using #if-#else-#endif in Haskell
I have 2 versions of the same program with only little changes between the two. Instead of having separate files, I use #if defined (PAR) - #else - #endif and then compile with or without -cpp -DPAR t[详细]
2023-03-16 17:48 分类:问答Upgrading ghc to 7.0.3 breaks wai-handler-devel
I\'m developing a web app on Yesod framework, using wai-handler-devel to run the server. A pacman -Syu (on Arch Linux) upgraded ghc from 7.0.2 to 7.0.3 and now the server throws an exception.[详细]
2023-03-16 16:06 分类:问答Building with runtime flags using cabal and ghc
I have a program written in Haskell and intended to be compiled with GHC. The program scales very well on multiple cores, so enabling multithreading is very important. In my .cabal file I\'ve added gh[详细]
2023-03-16 02:05 分类:问答Cabal missing dependencies on foreign libraries when install glib under Windows
I need glib for threadscope to work. But I am not able to install it using cabal. I tried cabal install glib but getting the following error. I even tried downloading the library and installing it loc[详细]
2023-03-15 19:58 分类:问答Extent of GHC's optimization
I am not very familiar with the degree that Haskell/GHC can optimize code.Below I have a pretty \"brute-force\" (in the declarative sense) implementation of the n queens problem.I know it can be writt[详细]
2023-03-15 17:31 分类:问答What is the -i option while compiling hs file using GHC and how to do same in GHCi?
Ok, I\'ve been using the -i compile option to specify the folder to some haskell source when I compile using GHC.[详细]
2023-03-15 16:04 分类:问答Why does GHC have a stack for each thread?
It\'开发者_运维问答s my understanding that GHC gives each thread a stack. Why is this necessary? Doesn\'t GHC compile to CPS? Isn\'t a thread expressed concisely as a closure?There are several aspects[详细]
2023-03-14 09:27 分类:问答LLVM's calling convention for GHC
Here is the text in LLVM\'s doc \"langref\": \"cc 10\" - GHC convention This calling convention has been implemented specifically for use by the Glasgow Haskell Compiler (GHC). It passes everything[详细]
2023-03-14 06:14 分类:问答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 user). The victim system is a fresh Red Hat system. And everything involved here should be 64 bit.[详细]
2023-03-13 16:52 分类:问答
加载中,请稍侯......