Re: [Haskell-cafe] GHC 6.8.2 on IA64-Linux platform (Itanium)

2011-01-04 Thread Karel Gardas
Hello Sergei! nice to hear from you! In fact I've been dealing with this issue a little bit and just fixed Adjustor issue myself and then just hour before your email came I discovered your excellent gentoo patches! Kudos to zygoloid for his excellent MBlock.h patch! Also you have saved my

lib for tuples

2011-01-04 Thread Serge D. Mechveliani
People, I define, for example, tuple42(_, y, _, _) = y, setTuple42 (x, _, z, u) y = (x, y, z, u), mapTuple42 f (x, y, z, u) = (x, f y, z, u). But it looks natural to have such functions for tuples in the library. As Haskell-2010 has zip3, zip4 ..., where are the library functions

Re: lib for tuples

2011-01-04 Thread Christian Höner zu Siederdissen
That would not be economical. Lets just say people never use more than 8-tuple and then try to count how many functions you would need. The tuple package on Haskell provides a generic interface to access/manipulate the k'th element of an n-tuple. That should be sufficient and is not subject to

Re: How to compile unregisterised build?

2011-01-04 Thread Simon Marlow
On 31/12/2010 19:53, Karel Gardas wrote: before going to fill some bugreports about broken unregisterised builds I'd like to be sure I understand the topic and know well how to configure it. So, I do have three platforms with Linux OS: - mips64: gcc 4.3.2 + ghc 6.8.2 (debian) - ARMv7: gcc

Re: How to compile unregisterised build?

2011-01-04 Thread Karel Gardas
Hello Simon, scratch that. I've been able to do unregistered build on IA64 and also on Mips64 (ARM still building). The issue I've had was with whitespace after the YES/NO in the mk/build.mk which was caused by the copypaste directly from Wiki. I'm thinking about adding clear note there