Re: [GHC] #764: DESTDIR Makefile variable

2006-05-09 Thread GHC
#764: DESTDIR Makefile variable --+- Reporter: guest| Owner: Type: feature request | Status: reopened Priority: normal | Milestone: Component:

[GHC] #768: Improve performance of binary serialisation for interface files

2006-05-09 Thread GHC
#768: Improve performance of binary serialisation for interface files -+-- Reporter: simonmar |Owner: Type: task | Status: new Priority: normal|

existantial types / attempt of using an unObj function/ no type in ghci

2006-05-09 Thread Marc Weber
My ghc version: Glasgow Haskell Compiler, Version 6.5.20060117, for Haskell 98, compiled by GHC version 6.5.20060117 load this into ghci module Main where class Table t where tableName :: t - String data TableObj = forall f. (Table f) = TableObj { unObj::f }

HEAD: Problem with compat/cbits/unicode.c

2006-05-09 Thread Reilly Hayes
compat/cbits/unicode.c contains the following line: #if __GLASGOW_HASKELL__ 604 || (__GLASGOW_HASKELL__==604 __GHC_PATCHLEVEL__==0) __GHC_PATCHLEVEL__ is set by compat/Makefile to be equal to GhcPatchLevel, which seems to be set to the patch level of the INSTALLED Ghc compiler. If

Re: GHC 6.6 and Ticket #608

2006-05-09 Thread Simon Marlow
Reilly Hayes wrote: Any chance of getting ticket #608 onto the list for the 6.6 release? Ticket #608 is Make the NCG* able to compile the RTS. *Please correct me if I am wrong, but my understanding of the dependencies suggests that this is the key obstacle to dynamically linked builds on

Re: Failure building HEAD in libraries/base/Data/ByteString.hs

2006-05-09 Thread Simon Marlow
Often I find these are the result of gcc inlining something, or using its built-in primitives. We already pass -fno-builtin to gcc on x86. Don - are there any C functions being inlined in ByteString? If so, it might be a good idea to turn off the inlining. Cheers, Simon Donald

Re: Alias for :quit in GHCi?

2006-05-09 Thread Juanma Barranquero
On 5/9/06, Simon Marlow [EMAIL PROTECTED] wrote: that was a bug. Now fixed. Thanks. /L/e/k/t/u ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: WordPtr,IntPtr,IntMax,WordMax

2006-05-09 Thread Simon Marlow
John Meacham wrote: On Thu, Apr 06, 2006 at 04:28:01PM -0700, John Meacham wrote: I was curious if ghc could support the following basic types, they will likely just be aliases of existing types. WordPtr uintptr_t WordMax uintmax_t IntPtr intptr_t IntMax intmax_t all these C types are

Re: Problems building HEAD

2006-05-09 Thread Reilly Hayes
Simon, Thanks for all your help. I've tried file individual messages when I'm pretty sure I've identified a problem with the distribution itself. However, I thought it might be useful to post more on my experiences in creating this build. 1) REGISTERISED HC FILE CREATION (on Linux

Re: Unregisterised GHC 6.4.2 on the ARM success -- now what?

2006-05-09 Thread Jeremy Shaw
Update Summary -- The testsuite indicates that the first-pass ghc arm build is in pretty good shape -- I think it now does everything that can be expected without porting the rts, etc. I have uploaded a tarball for anyone who wants to try it:

Re: [Haskell] how to 'accumulate' values efficiently (time and space) ?

2006-05-09 Thread Bulat Ziganshin
Hello minh, Monday, May 8, 2006, 12:28:35 PM, you wrote: acc1 ints = foldr (+) 0 ints foldl? -- acc2 ints = execState (mapM add2 ints) 0 add2 :: Int - State Int () add2 i = do acc - get put (acc + i) put $!

[Haskell] ANNOUNCE: Milfoh image to texture loading library

2006-05-09 Thread Maurizio Monge
Hi, since i was getting frustrated by having very good OpenGL/GLUT Haskell bindings but no image loading library i have put together a very small library from SDL_image (and a bare minimun of SDL) to load directly and very easily image files to opengl textures. The download link and the overview

Re: [Haskell] how to 'accumulate' values efficiently (time and space) ?

2006-05-09 Thread minh thu
thanks for your answers, i guess i have to look at strictness and such 'optimizations', ... mt 2006/5/9, Bulat Ziganshin [EMAIL PROTECTED]: Hello minh, Monday, May 8, 2006, 12:28:35 PM, you wrote: acc1 ints = foldr (+) 0 ints foldl?

[Haskell] Re: Haskell Digest, Vol 33, Issue 3

2006-05-09 Thread Chad Scherrer
Phil, thanks for the response. I was thinking about the dynamic behavior of par, and there's something that's a little confusing to me. Am I right in understanding that (x `par` y) evaluates to y, and may or may not evaluate x along the way?The reason that par doesn't necessarily evaluate it's

Re: termination for FDs and ATs

2006-05-09 Thread Stefan Wehr
Manuel M T Chakravarty [EMAIL PROTECTED] wrote:: Stefan Wehr: Manuel M T Chakravarty [EMAIL PROTECTED] wrote:: Martin Sulzmann: Manuel M T Chakravarty writes: Martin Sulzmann: A problem with ATs at the moment is that some terminating FD programs result into non-terminating

Re: termination for FDs and ATs

2006-05-09 Thread Stefan Wehr
Iavor Diatchki [EMAIL PROTECTED] wrote:: Hello, On 5/3/06, Stefan Wehr [EMAIL PROTECTED] wrote: class C a class F a where type T a instance F [a] where type T [a] = a class (C (T a), F a) = D a where m :: a - Int instance C a = D [a] where m _ = 42 If you now try to

[Haskell-cafe] Re: GHC 6.4.1 x86-64 does not compile

2006-05-09 Thread Dusan Kolar
Well, thanks for kicking. :-) Now, I have a 6.4.1 version compiling for 64bits. Nevertheless, if I try to build a 6.4.2 based on this ghc and 64bit gcc, I get this error during make (quite soon after make starts) - below my text. Is there again a problem in mixing of 32/64-bit versions or is

[Haskell-cafe] develop new Haskell shell?

2006-05-09 Thread Marc Weber
Hi. Who wants to try devloping a new shell with me? The main goals: try adding some haskell scriting instead of bash/zsh, history dependend on a) executing program b) current dir c) last commands d) workspaces which should mean that the shell should save at least the last 10 commands of

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-09 Thread Graham Klyne
Did you see [http://nellardo.com/lang/haskell/hash/] ? Google also finds some links to code. #g -- Marc Weber wrote: Hi. Who wants to try devloping a new shell with me? The main goals: try adding some haskell scriting instead of bash/zsh, history dependend on a) executing program

[Haskell-cafe] The values of infinite lists

2006-05-09 Thread Deokhwan Kim
Are the values of infinite lists _|_ (bottom)? In section 1.3, the Haskell 98 report said as follows: Errors in Haskell are semantically equivalent to _|_. Technically, they are not distinguishable from nontermination, so the language includes no mechanism for detecting or acting upon