ghc
Storable empty data declaration
I\'m attempting to create a Haskell wrapper for a C library. The underlying structs are too complicated to express as explicit types, and I don\'t actually use them other than for passing开发者_StackO[详细]
2023-02-06 10:19 分类:问答Current status of automatic parallelism in Haskell [duplicate]
This question already has an answer here: Closed 12 years ago. Possible Duplicate: What's the status of multicore programming in Haskell?[详细]
2023-02-04 17:33 分类:问答inlined functions still show up in the .prof file
I\'m trying tofigure out how to optimize开发者_StackOverflow社区 some code.Here it is: {-# OPTIONS_GHC -funbox-strict-fields #-}[详细]
2023-02-04 03:48 分类:问答install ALUT on OSX
i am interested in installing the cabal package turing-music but i can\'t find the ALUT library on macports needed for the haskell binding to ALUT (http://hackage.haskell.org/package/ALUT).[详细]
2023-01-29 11:12 分类:问答Haskell program with Data.Set doesnt compile
I write the following file temp.hs: import qualified Data.Set import System.Environment main :: IO () main = do[详细]
2023-01-24 05:20 分类:问答ghc 6.12.1, System.Environment.getArgs and UTF-8
ghc 6.12 dropped separate utf8-string packages since most of its functionality is implemented in stock modules. In particular System.Environment.UTF8 does not exist anymore.[详细]
2023-01-23 06:50 分类:问答Get number of RTS threads in Haskell program?
Is there an IO action that gives me the number of OS threads the RTS was initialized with? It would be nice to be able to use this as an argument to the parBuffer function from the Control.Parall开发者[详细]
2023-01-23 01:21 分类:问答Haskell (ghc) runtime memory usage or what do I do wrong
I wrote a small program, kind of specialized HTTP server in haskell, which is not much more complex than the code below. What puzzles me is its memory consumption. Say, when I run a test compiled from[详细]
2023-01-22 23:43 分类:问答Understanding GHC error "Qualified name in binding position"
If I create a module AModule with a typeclass Foo, module AModule where class Foo a where bar :: a and in another module BModule import AModule qualified and try to make some type an instance of Fo[详细]
2023-01-22 07:58 分类:问答Is DeriveFunctor a well-recognized extension? Cabal seems confused
Cabal is giving me mixed messages. When I say: Extensions: DeriveFunctor It says: Warning: Unknown extensions: DeriveFunctor[详细]
2023-01-22 03:37 分类:问答
加载中,请稍侯......