Re: [Haskell-cafe] Optimization flag changing result of code execution

2013-07-17 Thread Brian Lewis
On 2013.07.17, at 08:03, Jan-Willem Maessen wrote: This has all the marks of a 64-bit-only code running on a 32 bit machine. This discussion is interesting, but I'm not sure why so much of it is taking place here instead of on the mwc-random issue tracker:

[Haskell-cafe] OpenGL extensions survey results

2013-07-15 Thread Brian Lewis
Hi, here are the results of the recent OpenGL extensions survey: https://github.com/bsl/opengl-extensions-survey If I did anything dumb, please send me mail or a pull request. Thanks to everyone who contributed! ___ Haskell-Cafe mailing list

[Haskell-cafe] build failure on Hackage

2013-07-13 Thread Brian Lewis
I maintain a library that, on Linux, needs libXxf86vm to build. The server where Hackage runs doesn't have that library, so the build fails. I think this is reasonable -- that box can't possibly have all the libraries various packages might need. But the build failure seems to cause the Haddock

Re: [Haskell-cafe] build failure on Hackage

2013-07-13 Thread Brian Lewis
On 2013.07.13, at 23:15, Roman Cheplyaka wrote: 1. Why exactly does haddock fail? I think it never actually tries to build the Haddock docs for the actual package of interest because its dependencies failed to build. Here's the GLFW-b build log:

Re: [Haskell-cafe] build failure on Hackage

2013-07-13 Thread Brian Lewis
On 2013.07.14, at 00:05, Roman Cheplyaka wrote: Ah, yes. This may be a bit more complicated than it seems, due to the way Cabal works. I think you're right. This seems really unfortunate. :( Thanks for the explanation. ___ Haskell-Cafe mailing list

[Haskell-cafe] OS X ghci problem

2013-07-11 Thread Brian Lewis
Here's a problem variations of which have been plaguing the Haskell community for as long as I can remember. To see it for yourself: 1.) Be running OS X 2.) install GLFW-b-1.0.0 (you may need to cabal update) [1] 3.) ghci -package GLFW-b 4.) import Graphics.UI.GLFW as GLFW 5.) GLFW.init Security

[Haskell-cafe] Linux users needed for OpenGL extensions survey

2013-07-07 Thread Brian Lewis
Hi, I'm doing a survey to find out how well various OpenGL extensions are supported, to know where to focus efforts on Haskell game software. If you run Linux on your desktop and want to help, here's how: 1.) Save the information like this: $ glxinfo SOMENAME.glxinfo ... where SOMENAME

[Haskell-cafe] data constructor names

2013-06-22 Thread Brian Lewis
Say you write data Callback = Error ... | ... because one of the kinds of callbacks you need to model is an error callback. Then, later, you write data Error = ... to model some error that can happen. They're both good names, but there's a conflict. So I started thinking I should prefix my

[Haskell-cafe] TH clause Pat selection

2013-06-19 Thread Brian Lewis
I want to use TH to generate functions like foo :: c - h foo ... = ... foo ... = ... ... from lists of pairs :: [(c, h)] For example, $(genFoo ''Int ''Bool [(0,False), (1,True)]) would generate foo 0 = False foo 1 = True The problem is, I don't know how to generate the function's clauses. foo 0

Re: [Haskell-cafe] hackage version scheme survey

2009-05-23 Thread Brian Lewis
On Saturday, 23.05.09 at 21:10, wren ng thornton wrote: I hear they're looking for someone to write a program to check for API changes in order to detect and enforce the policy :) Care to help? Yeah, I'm looking into it. ___ Haskell-Cafe mailing list