|
HOpenGL and freeglut rendering problems
|
| |
Hello. I'm new to this mailing list, so I apologize if this question is inappropriate for this list, but I've been looking for a solution to this problem for weeks and I've had no luck. I am trying to write a program with HOpenGL and freeglut, but I can't seem to get it to render. I'm running Ubuntu 9.10 on a DELL 1555 with an... more »
|
|
Pointfree rank-2 typed function
|
| |
Hello, Given this program: ------------------------------ ------------------------------ {-# LANGUAGE Rank2Types #-} newtype Region s a = Region a unRegion :: forall a s. Region s a -> a unRegion (Region x) = x runRegionPointfull :: forall a. (forall s. Region s a) -> a runRegionPointfull r = unRegion r... more »
|
|
Announcing Haskell 2010
|
| |
I'm very proud to announce a new revision of the Haskell language, Haskell 2010. Over the last couple of months the committee has been making final decisions about which extensions should be a part of this revision. The final list is: DoAndIfThenElse HierarchicalModules EmptyDataDeclarations FixityResolution... more »
|
|
how to install "import Foreign.C.Types( CFloat )" in Ubuntu
|
| |
I am trying to run a file, which works well on the university system, but I don't know what do I need to do to make it work on my home Ubuntu system. The particular line which makes the error is: import Foreign.C.Types( CFloat ) And the error is: ------------------------------ -----------------------------... more »
|
|
questions about quickCheck
|
| |
Hi, I have just started learning Haskell this semester, and I have some questions of things which puzzles me: 1. I would like to ask that how is it possible to set quickCheck test numbers to something else then the default 100 passes? I have found an article which says: deepCheck p = check (defaultConfig { configMaxTest = 10000}) p... more »
|
|
Kind polymorphism
|
| |
Hello, Are there currently any known problems that would hinder the implementation of kind polymorphism [1], e.g. unresolved inelegancies or technical limitations, or is it only a matter of finding the time to implement it? Thanks, Martijn. [1] [link]... more »
|
|
Retrieving the decimal portion of a Double
|
| |
Hi all, I am trying to retrieve the decimal portion of a Double. My code is: getDecimal x = x - floor(x) I would expect the following: Main> getDecimal 1.23 0.23 :: [Double] but instead, I get: Main> getDecimal 1.23 ERROR - Unresolved overloading... more »
|
|
How does cabal determine version ranges in the dependencies?
|
| |
Hi everyone I recently started porting cabal-install to Freebsd. When I looked at its dependencies on hackage, I noticed HTTP (>=4000.0.2 && <4001). However the latest HTTP version on hackage is 4000.0.8. That struck me as kinda odd. How can cabal tell that it won't be compatible with HTTP version 4001?... more »
|
|
|