Re: Building HEAD (e83e873d) on mips64el: unknown package: old-locale-1.0.0.6

2014-09-02 Thread Sergei Trofimovich
On Tue, 02 Sep 2014 08:48:22 +0400 Nikita Karetnikov nik...@karetnikov.org wrote: I have happened to find seemingly related bug in PIC handing on other PIC-sensitive RISCs: https://phabricator.haskell.org/D177 (also in ghc's master) I think it might help you to get ghci on your

Re: Proposal: run GHC API tests on fast

2014-09-02 Thread Edward Z . Yang
I pushed a fix for the tests in ghc-api. Edward Excerpts from Reid Barton's message of 2014-08-23 20:07:40 +0200: I have seen this too just running make THREADS=8. Looks like it's because the other tests in this directory are cleaning too aggressively. From the Makefile: ... clean:

Re: PROPOSAL: Make Data.Type.Bool.If polykinded

2014-09-02 Thread Richard Eisenberg
Hi Merijn, I believe that `If` is already the way you want: λ :k If If :: Bool - k - k - k The problem in your code is that GHC is a little... er... unprincipled about the kind of `()`. It basically assumes that `()` is of kind `*` unless it is very, absolutely, abundantly obvious that it

Re: [Haskell] ANNOUNCE: GHC version 7.8.3

2014-09-02 Thread Simon Marlow
On 01/09/2014 12:30, Sven Panne wrote: 2014-09-01 9:26 GMT+02:00 Simon Marlow marlo...@gmail.com: Hi Sven - you would need to compile the module with -dynamic or -dynamic-too to have it be picked up by the new dynamically-linked GHCi in 7.8. Ah, OK... Adding -dynamic makes this work, but

Re: Proposal: run GHC API tests on fast

2014-09-02 Thread Joachim Breitner
Hi, Am Dienstag, den 02.09.2014, 09:08 +0200 schrieb Edward Z.Yang: I pushed a fix for the tests in ghc-api. thanks! Greetings, Joachim -- Joachim “nomeata” Breitner m...@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nome...@joachim-breitner.de • GPG-Key: 0xF0FBF51F

Re: Problems with building GHC 7.8.3 on Windows

2014-09-02 Thread Marek Wawrzos
I have finally builded GHC 7.8.3 on Windows. The wiki page with MSYS2 that you linked to proved to be useful reference. Indeed using the latest 64 bit MSYS2 as building environment solved my problems. However there are some issues with the instructions presented: -- the MSYS2 package that is

Re: wORD_SIZE vs platformWordSize of targetPlatform

2014-09-02 Thread Simon Marlow
On 08/08/2014 13:15, Johan Tibell wrote: We seem to have two ways to get the same piece of information. We can get the target (?) word size as wORD_SIZE but there's also the platformWordSize field in the Platform data type, which is held as targetPlatform in DynFlags. Which one should I use?

deriving Bits

2014-09-02 Thread 山本和彦
Hi, Recently, I found that we can put Bits in deriving. I checked the GHC manual but it seems to me that this page does not cover Bits: https://www.haskell.org/ghc/docs/7.8.3/html/users_guide/deriving.html Are there any other classes which can be automatically derived and are not listed