7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread Austin Seipp
Hello all, I've just created the 7.8 branch after tying off some of the final loose ends. In its current state, I expect the branch as it is now to become RC1 within the day. I plan on starting builds for the following soon: - OS X 10.7 and OS X 10.9 - Linux i386/amd64 (likely based on

Request: export runTcInteractive from TcRnDriver

2014-01-29 Thread p.k.f.holzenspies
Dear GHC-devs, Is there a reason why, in HEAD, TcRnDriver does *not* export runTcInteractive? If not, can it please be added? (I considered sending a patch with this email, but it's so trivial a change that the check of the patch is more work than manually adding runTcInteractive to the export

Unit tests for GHC code?

2014-01-29 Thread Joachim Breitner
Hi, I am currently working on a piece of code (an analysis to solve #7994) where I’d like to make sure that my changes do not regress over what I had before. But I find it unnecessarily hard to write our usual test-case styles for them: * I’d like to test against very small Core that does

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread Páli Gábor János
On Wed, Jan 29, 2014 at 10:49 AM, Austin Seipp aus...@well-typed.com wrote: Two systems I won't make builds for RC1 by default (but could be persuaded to if nobody else does, and people want it): [..] - FreeBSD - Pali, if you'd like to do this, feel free, and let me know. Sure, I can do it.

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread Austin Seipp
Thanks! I'll follow up with you shortly. My plan was actually to create a fingerprint of the repository, so you can just checkout a tree, use the fingerprint, and build the RC from that. The setup would just be a default perf build (i.e. no custom build.mk at all, just a regular

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread 山本和彦
Austin, Blargh, I'll fix this shortly. Thanks Pali. Please do. I also hit upon this bug. I could build GHC head yesterday but not today. P.S. Even if this is fixed, validate does not work on my Mac recently due to a haddock problem of the xhtml library. Does anyone see this problem? --Kazu

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread 山本和彦
Hi Mateusz, I'll try building now. What's the error? Not building but validate. validate stops due to an error from haddock in the xhtml library. --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread Austin Seipp
Also sending to the list. --- Kazu, I fixed the __GLASGOW_HASKELL__ check on both HEAD and the 7.8 branch. As for the bug you are talking of - yes, I made a release note about this the other day. The problem is that due to a bad interaction with Clang, somehow the module

Re: Unit tests for GHC code?

2014-01-29 Thread Richard Eisenberg
Let me take a different slice at this question, inspired more by Joachim's subject line than his text: On a number of occasions I've wanted to write unit tests against a certain function or set of functions. The role inference algorithm is a prime example, but it's happened elsewhere, too. The

Re: Unit tests for GHC code?

2014-01-29 Thread Joachim Breitner
Hi, Am Mittwoch, den 29.01.2014, 10:12 -0500 schrieb Richard Eisenberg: So, is there a way / does someone know how to make a way to do proper unit testing? The ability to do such tests is treated as a key virtue of (pure) functional programming, and yet we don't do it! :) I’m now doing this:

GHC boot-library package changelogs release-notes

2014-01-29 Thread Herbert Valerio Riedel
Hello fellow GHC devs, As some of you might have noticed, I added a changelog.md file to libraries/base: https://github.com/ghc/packages-base/blob/c8634027d4e3315a2276fb1be8168c486419785a/changelog.md (please feel free to fix any typos/omissions/whatever you notice) My hope/motivation is

Re: GHC boot-library package changelogs release-notes

2014-01-29 Thread Arash Rouhani
Hi Herbert, So who should add to the changelog? If I'm committing a new feature to the base library, should my commit include a small addition to the changelog describing my change? Good idea btw! :) Best, Arash On 2014-01-29 17:32, Herbert Valerio Riedel wrote: Hello fellow GHC devs, As

Re: GHC boot-library package changelogs release-notes

2014-01-29 Thread Herbert Valerio Riedel
Hello Arash, On 2014-01-29 at 18:21:05 +0100, Arash Rouhani wrote: So who should add to the changelog? If I'm committing a new feature to the base library, should my commit include a small addition to the changelog describing my change? If you deem your modification release-note-worthy, then

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread Luke Iannini
Hi Austin, all, FYI: I'm building GHC iOS binaries for RC1 right now. It would be awesome to release them along side if possible! Cheers Luke On Wed, Jan 29, 2014 at 6:28 AM, Kazu Yamamoto k...@iij.ad.jp wrote: Austin, For the record, this error occurs fairly late in the ./validate script

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread Dominick Samperi
That is great Luke, I hope your work gets rolled into 7.8. Is this just experimental, or is it possible to actually develop an app that will pass Apple's QA and can be hosted on the app store? Are there any examples currently hosted on the App Store? Thanks, Dominick On Wed, Jan 29, 2014 at

Re: Pattern synonyms for 7.8?

2014-01-29 Thread Mateusz Kowalczyk
On 05/01/14 12:16, Dr. ERDI Gergo wrote: Hi, When I started working on pattern synonyms (#5144) back in August, it seemed the GHC 7.8 freeze was imminent, so I was planning for a first version in 7.10/8.0 (whatever it will be called). However, since not much has happened re: 7.8 since then

Re: Pattern synonyms for 7.8?

2014-01-29 Thread Dr . ÉRDI Gergő
Hi, Sorry, I wasn't aware running validate was not enough. I'll check out the problems in ~10 hours. Bye, Gergo On Jan 30, 2014 7:41 AM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 05/01/14 12:16, Dr. ERDI Gergo wrote: Hi, When I started working on pattern synonyms (#5144) back

Re: Reply etiquette

2014-01-29 Thread Mateusz Kowalczyk
On 29/01/14 22:47, Joachim Breitner wrote: Hi, Am Mittwoch, den 29.01.2014, 23:18 +0100 schrieb Jan Stolarek: PS: I’m subscribed to the list, no need to send a copy to my private address. This is typically done to alert someone that he/she has been addressed directly in a discussion. I

Re: 7.8 branch is created, HEAD is now open, and a note on merges

2014-01-29 Thread 山本和彦
Hi Austin, It seems to me that the patch for Cabal in ticket 8266 is still missing: https://ghc.haskell.org/trac/ghc/ticket/8266 diff --git a/Cabal/Distribution/Simple/GHC.hs b/Cabal/Distribution/Simple/GHC.hs index c7ea633..78cdcbb 100644 --- a/Cabal/Distribution/Simple/GHC.hs +++

Re: Reply etiquette

2014-01-29 Thread Carter Schonwald
Ironically, this is the first ghc-devs email to ever get sent to my bulk folder. :) I can't speak for others, but I try to read most of the email in devs and related lists (for good or for ill). Though this certainly gets in the way of getting work done sometimes :) On Wednesday, January 29,

GHC for iOS (arm) 7.8 Preview Build ready for upload

2014-01-29 Thread Luke Iannini
Hi folks! I've just finished a preview build of GHC for iOS off the 7.8 branch, but could use a place to upload it. And once that's done, if anyone would like to help me test it that has Xcode 5 and a device, that would be excellent! Cheers Luke ___

Re: GHC for iOS (arm) 7.8 Preview Build ready for upload

2014-01-29 Thread Luke Iannini
OK, it's up here now: https://github.com/ghc-ios/ghc-ios-scripts/releases/tag/7.8RC1Preview1 You'll need the scripts from https://github.com/ghc-ios/ghc-ios-scripts in your path along with LLVM 3.0 (it's the only version that works so far). On Wed, Jan 29, 2014 at 9:27 PM, Luke Iannini