Re[2]: [Haskell-cafe] NewBinary/ BinMem and IO monad

2006-05-06 Thread Bulat Ziganshin
Hello Marc, Saturday, May 6, 2006, 2:39:46 AM, you wrote: >> just add unsafePerformIO: > great idea! > In my case I can also use unsafeInterleaveIO or lazyness, can't I? sorry, i don't remember your case, next time add more citation. in general 'unsafeInterleaveIO' can be used only in IO context

Re: [Haskell-cafe] #if and #endif

2006-05-06 Thread Sven Panne
Am Freitag, 14. April 2006 02:34 schrieb ihope: > On 4/13/06, Jason Dagit <[EMAIL PROTECTED]> wrote: > > Try using passing -cpp to ghc when you compile. > > > > Jason > > Thanks. Will do. A small note: I worked on the tools recently, so Alex/Haddock/Happy should be fully cabalized now. Consequent

Re: [Haskell-cafe] The case of the missing module

2006-05-06 Thread Sven Panne
Am Sonntag, 16. April 2006 03:41 schrieb ihope: > In the Haddock source, there's the following line: > > import Paths_haddock ( getDataDir ) > > Paths_haddock doesn't seem to be anywhere inside the Haddock > distribution, and a Google search doesn't turn up any useful results. > Where can I find t

Re: [Haskell-cafe] need help please [HOpenGL]

2006-05-06 Thread Sven Panne
Am Sonntag, 23. April 2006 04:49 schrieb Brian Hulley: > Brian Hulley wrote: >[...] > Sorry I shouldn't have replied when I hadn't even tried it myself ;-) > I don't think it is nearly so easy to display a bitmap from an image on > file. If you look at the online version of the OpenGL redbook here

Re: [Haskell-cafe] Re: Haddock seems to generate wrong types in newtype deriving

2006-05-06 Thread Sven Panne
Am Montag, 24. April 2006 14:36 schrieb Brian Hulley: > Thanks - I'm glad it's not just me! > In the meantime, I found a better workaround (since the type decl using a > class name is not legal Haskell) is just to use -cpp to preprocess for both > ghc and haddock so that haddock sees explicitly def

Re: [Haskell-cafe] Porting GHC to OSX86?

2006-05-06 Thread Reilly Hayes
You'll get a better response to this on the glasgow-haskell-users list. I'm cross-posting my reply. I'm brand new to hacking on GHC, but I've been working on this in my pitifully meagre spare time. The actual expert is Wolfgang Thaller, but he doesn't seem to be around the lists lately.

[Haskell-cafe] throwing sugar into the void.

2006-05-06 Thread Marc A. Ziegert
[EMAIL PROTECTED] I'd like to hear some comments about the following ideas; maybe they are someway obsolete or even useless nonsense. A few days ago, I thought about abstracting the instance of an object away, like used in Foreign.Storable.sizeOf::(Storable a)=>a->Int, where only the type of a