RE: Arrows!

2011-10-26 Thread Simon Peyton-Jones
the arrow commands should probably be their own thing rather than some weird offshoot of regular HsExprs. After looking at the code again, I definitely think this is a good idea that will improve readability and maintainability. Good! . First things first, I want HsCmds to be created in some

Re: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Max Bolingbroke
Ian/Simon/Simon, Do you have an opinion on this? My proposal below has support from David, Manuel and Daniel Fischer, but I don't want to go installing new git hooks without your go-ahead! Max On 25 October 2011 11:52, Max Bolingbroke batterseapo...@hotmail.com wrote: If we are going to make

RE: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Simon Peyton-Jones
I don't have an opinion. Simon M is the king. S | -Original Message- | From: omega.th...@gmail.com [mailto:omega.th...@gmail.com] On Behalf Of Max | Bolingbroke | Sent: 26 October 2011 08:21 | To: cvs-ghc@haskell.org; Simon Peyton-Jones; Simon Marlow; Ian Lynagh | Subject: Re: [commit:

Re: Missing module?

2011-10-26 Thread Simon Marlow
Cleaning shouldn't be necessary, but you do have to ./configure after modules are added/removed from GHC, because ghc.cabal is generated from ghc.cabal.in by configure. Cheers, Simon On 25/10/2011 11:45, Manuel M T Chakravarty wrote: No, I deleted this module on purpose. You may need

[commit: ghc] ghc-constraint-solver: Fix imports (61dda40)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-constraint-solver http://hackage.haskell.org/trac/ghc/changeset/61dda4056caf78aa44410254c585d4d2caa586d1 --- commit 61dda4056caf78aa44410254c585d4d2caa586d1 Author:

[commit: ghc] ghc-constraint-solver: Merge remote branch 'origin/master' into ghc-constraint-solver (d77ee02)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-constraint-solver http://hackage.haskell.org/trac/ghc/changeset/d77ee0296be979841345a51eb79bb2aa57060201 --- commit d77ee0296be979841345a51eb79bb2aa57060201 Merge:

[commit: ghc] ghc-constraint-solver's head updated: Fix imports (61dda40)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc Branch 'ghc-constraint-solver' now includes: 0eae68c... Tabs - spaces eb79328... Tabs - spaces a637e09... Tabs - spaces 9ada6542b. Tabs - spaces 3bbd226... Vectoriser gets all DPH library identifiers from

Re: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Simon Marlow
Fine by me, my emacs is set up to convert tabs to spaces on lines that I edit. (incedentally, I'm not keen on patches that *just* make whitespace changes. It causes unnecessary conflicts in my branches.) Cheers, Simon On 26/10/2011 08:31, Simon Peyton-Jones wrote: I don't have an

[commit: nofib] master: Fix nofib for recent Num, Eq changes (3fc769a)

2011-10-26 Thread David Terei
Repository : ssh://darcs.haskell.org//srv/darcs/nofib On branch : master http://hackage.haskell.org/trac/ghc/changeset/3fc769af0ae1393c0b8eb8bf264c6969080ce9dd --- commit 3fc769af0ae1393c0b8eb8bf264c6969080ce9dd Author: David Terei

[commit: nofib] master: More fixes for Eq, Num changes. (7bdf62e)

2011-10-26 Thread David Terei
Repository : ssh://darcs.haskell.org//srv/darcs/nofib On branch : master http://hackage.haskell.org/trac/ghc/changeset/7bdf62eeb66a8fc645fa5730d2e0321455f1a361 --- commit 7bdf62eeb66a8fc645fa5730d2e0321455f1a361 Author: David Terei

[commit: ghc] ghc-kinds: Implement Plan A for kind-checking family instances. (94e63cd)

2011-10-26 Thread José Pedro Magalhães
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/94e63cd211fef88ec87bd82f51a3074723391e77 --- commit 94e63cd211fef88ec87bd82f51a3074723391e77 Author: Jose Pedro

[commit: ghc] master: Verify that I can still add tabs to a file already containing them (c8d3f44)

2011-10-26 Thread Max Bolingbroke
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c8d3f44af425688db7a3a860f9a6242cbef273f8 --- commit c8d3f44af425688db7a3a860f9a6242cbef273f8 Author: Max Bolingbroke

Re: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Max Bolingbroke
On 26 October 2011 09:43, Simon Marlow marlo...@gmail.com wrote: Fine by me, my emacs is set up to convert tabs to spaces on lines that I edit. OK. I've applied the hook to the main GHC repo and it appears to work as intended. Let me know if anyone has problems with it. (incedentally, I'm not

Re: Missing module?

2011-10-26 Thread Manuel M T Chakravarty
Simon Marlow: Cleaning shouldn't be necessary, but you do have to ./configure after modules are added/removed from GHC, because ghc.cabal is generated from ghc.cabal.in by configure. Oh, ok. Thanks for the clarification. Manuel On 25/10/2011 11:45, Manuel M T Chakravarty wrote: No, I

New patches in /srv/darcs/git-mirrors/Cabal

2011-10-26 Thread Ian Lynagh
New patches in /srv/darcs/git-mirrors/Cabal commit 52285df0a921cd9ad8de5a135e8d43d464209d88 Author: Johan Tibell johan.tib...@gmail.com Date: Wed Oct 26 00:53:09 2011 + Register 'bench' command with the CLI commit 4b4896effcae011221d9ed6a362fd598b2897f9b Author: Johan Tibell

[commit: ghc] ghc-kinds: More stuff (1a6c3c7)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/1a6c3c7af7e0ed4baf7e4b956e2f20fa76ce81e7 --- commit 1a6c3c7af7e0ed4baf7e4b956e2f20fa76ce81e7 Author: Simon Peyton

Re: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Duncan Coutts
On Wed, 2011-10-26 at 11:14 +0100, Max Bolingbroke wrote: On 26 October 2011 09:43, Simon Marlow marlo...@gmail.com wrote: Fine by me, my emacs is set up to convert tabs to spaces on lines that I edit. OK. I've applied the hook to the main GHC repo and it appears to work as intended. Let

Re: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Manuel M T Chakravarty
Simon Marlow: (incedentally, I'm not keen on patches that *just* make whitespace changes. It causes unnecessary conflicts in my branches.) http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions/Git says Separate changes that affect functionality from those that just affect code

Re: [commit: base] master: Update base for new Safe Haskell design (447448a)

2011-10-26 Thread Duncan Coutts
Hi David, On Tue, 2011-10-25 at 15:17 -0700, David Terei wrote: Repository : ssh://darcs.haskell.org//srv/darcs/packages/base On branch : master http://hackage.haskell.org/trac/ghc/changeset/447448aff4803fa4b26ac941d5297aedcbb2dddf commit 447448aff4803fa4b26ac941d5297aedcbb2dddf

[commit: ghc] master: Add rts time util getUnixEpochTime (ece21ea)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ece21ea00b8681b09c9eedbebbac1af764864367 --- commit ece21ea00b8681b09c9eedbebbac1af764864367 Author: Duncan Coutts

[commit: ghc] master: Delete some old Win9x C code (17c1662)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/17c166232cf2a547a9b0a4fce5f38307ae64f157 --- commit 17c166232cf2a547a9b0a4fce5f38307ae64f157 Author: Duncan Coutts

[commit: ghc] master: Add new eventlog EVENT_WALL_CLOCK_TIME for time matching (4856d15)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/4856d15a87d9052e2d9729c6a3e4312eb00622a2 --- commit 4856d15a87d9052e2d9729c6a3e4312eb00622a2 Author: Duncan Coutts

[commit: ghc] master: Add a clock domain capset and emit wall clock time on rts init (d690592)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d69059203d073093752bcd23181b745862a97a45 --- commit d69059203d073093752bcd23181b745862a97a45 Author: Duncan Coutts

[commit: ghc] master: Rename traceCapsetModify for consistency and clarity (f9c2157)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f9c2157310ee428ab969563ee889750d036ab38c --- commit f9c2157310ee428ab969563ee889750d036ab38c Author: Duncan Coutts

[commit: ghc] ghc-kinds: Improve the check for well-formedness of kinds. (424e421)

2011-10-26 Thread José Pedro Magalhães
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/424e421d66cbe7b4e40deb378672018d2ff17f4b --- commit 424e421d66cbe7b4e40deb378672018d2ff17f4b Author: Jose Pedro

[commit: ghc] ghc-kinds: Comment only. (c6713c6)

2011-10-26 Thread José Pedro Magalhães
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/c6713c6db2b190e693e01d820b4c4214e0def71f --- commit c6713c6db2b190e693e01d820b4c4214e0def71f Author: Jose Pedro

[commit: ghc] ghc-kinds: Whitespace only. (37e0790)

2011-10-26 Thread José Pedro Magalhães
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/37e0790fd823620f4c286b13a72ef927404c55b1 --- commit 37e0790fd823620f4c286b13a72ef927404c55b1 Author: Jose Pedro

[commit: ghc] ghc-kinds: Add a bunch of examples that fail, extracted from the testsuite. (9ba2ba5)

2011-10-26 Thread José Pedro Magalhães
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/9ba2ba5f9c6271e90c4128de8fbfe74eb1865d4c --- commit 9ba2ba5f9c6271e90c4128de8fbfe74eb1865d4c Author: Jose Pedro

[commit: ghc] ghc-kinds: Fix typos. (45c14f9)

2011-10-26 Thread José Pedro Magalhães
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-kinds http://hackage.haskell.org/trac/ghc/changeset/45c14f9e40c0bc9555df128fe5a8f0be47bde573 --- commit 45c14f9e40c0bc9555df128fe5a8f0be47bde573 Author: Jose Pedro

Safe Haskell default

2011-10-26 Thread Thomas Schilling
I while ago I saw a commit to Safe Haskell changing modules from default Unsafe to default Safe. This seems wrong to me (and Duncan agreed on IRC) -- in security the usual advice is to use white listing instead of black listing. The reasoning is that if you forget to white list something safe,

[commit: ghc] ghc-constraint-solver: Unused variables (af926b1)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-constraint-solver http://hackage.haskell.org/trac/ghc/changeset/af926b17a3ba18976c7628887c8ae68309ed1896 --- commit af926b17a3ba18976c7628887c8ae68309ed1896 Author:

[commit: ghc] ghc-constraint-solver: Layout only (f9bc71c)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-constraint-solver http://hackage.haskell.org/trac/ghc/changeset/f9bc71c687621f0358a3e1ce37b6d288e754b582 --- commit f9bc71c687621f0358a3e1ce37b6d288e754b582 Author:

[commit: ghc] ghc-constraint-solver: Fix infinite loop in printing coercion ((-) x) (8f0f190)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-constraint-solver http://hackage.haskell.org/trac/ghc/changeset/8f0f1908fa52a3c784e21bf99a74cc0d44f5571e --- commit 8f0f1908fa52a3c784e21bf99a74cc0d44f5571e Author:

[commit: ghc] ghc-constraint-solver: Correct braces in debug prints (5bc62a0)

2011-10-26 Thread Simon Peyton Jones
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-constraint-solver http://hackage.haskell.org/trac/ghc/changeset/5bc62a0831c9f79f58a779cd998a83c86e61e113 --- commit 5bc62a0831c9f79f58a779cd998a83c86e61e113 Author:

Re: [commit: ghc] master: Tabs - spaces (9ada6542b)

2011-10-26 Thread Max Bolingbroke
On 26 October 2011 13:53, Duncan Coutts duncan.cou...@googlemail.com wrote: Can I suggest that instead we just use ghc's -Wtabs flag rather than a apply hook. This will catch the problems up front rather than once someone is ready to push a sequence of patches. This should cause less cursing

simonmar-win32-stable (x86 Windows STABLE), build 358, Failure

2011-10-26 Thread Builder
simonmar-win32-stable (x86 Windows STABLE), build 358 Build failed Details: http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-stable/358.html git clone| Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version

simonmar-win32-head (x86 Windows HEAD), build 425, Failure

2011-10-26 Thread Builder
simonmar-win32-head (x86 Windows HEAD), build 425 Build failed Details: http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-head/425.html git clone| Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date |

[commit: ghc] master: fix#5380: arrows if command given too general a type (7437af6)

2011-10-26 Thread Ross Paterson
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/7437af6f36b8201fba7a9dea98685da4d35f167f --- commit 7437af6f36b8201fba7a9dea98685da4d35f167f Author: Ross Paterson

Re: Safe Haskell default

2011-10-26 Thread Johan Tibell
On Wed, Oct 26, 2011 at 9:04 AM, Thomas Schilling nomin...@googlemail.comwrote: I while ago I saw a commit to Safe Haskell changing modules from default Unsafe to default Safe. This seems wrong to me (and Duncan agreed on IRC) -- in security the usual advice is to use white listing instead

Re: Safe Haskell default

2011-10-26 Thread Daniel Fischer
On Wednesday 26 October 2011, 19:50:09, Johan Tibell wrote: On Wed, Oct 26, 2011 at 9:04 AM, Thomas Schilling nomin...@googlemail.comwrote: I while ago I saw a commit to Safe Haskell changing modules from default Unsafe to default Safe. This seems wrong to me (and Duncan agreed on

[commit: ghc] master: Revert More updates to Safe Haskell to implement new design (done!). (0f51b3e)

2011-10-26 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/0f51b3ebcb84f786207121e0612af6bbaeaa6e92 --- commit 0f51b3ebcb84f786207121e0612af6bbaeaa6e92 Author: Ian Lynagh

[commit: ghc] master: Revert Fix some validation errors (b558599)

2011-10-26 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/b558599b9e492fd6d349aa60306b788dbaf9f28c --- commit b558599b9e492fd6d349aa60306b788dbaf9f28c Author: Ian Lynagh

[commit: ghc] master: Merge branch 'master' of mac:ghc/git/val32/. (115b3df)

2011-10-26 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/115b3df1ced3d8a49d2d50631cf996afececdd29 --- commit 115b3df1ced3d8a49d2d50631cf996afececdd29 Merge: 0f51b3e...

[commit: ghc] master: Fix typo (4f79205)

2011-10-26 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/4f79205400099f518cd497eef0864c8faace9e41 --- commit 4f79205400099f518cd497eef0864c8faace9e41 Author: Ian Lynagh

[commit: testsuite] master: Remove cabal02 (edf4eb6)

2011-10-26 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master http://hackage.haskell.org/trac/ghc/changeset/edf4eb6e006eba81bd760ada2659cf6dfaa8680b --- commit edf4eb6e006eba81bd760ada2659cf6dfaa8680b Author: Ian

Re: Safe Haskell default

2011-10-26 Thread Johan Tibell
On Wed, Oct 26, 2011 at 11:04 AM, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: I don't understand this. If I don't use Safe Haskell, the compiler should ignore all the Safe/Trustworthy/Unsafe pragmas no matter what's the default. Only if I explicitly choose to use Safe Haskell by

Re: Safe Haskell default

2011-10-26 Thread Daniel Fischer
On Wednesday 26 October 2011, 20:54:46, Johan Tibell wrote: Right, but that's not how it used to work. Oh. As soon as any module (e.g. in base) had a Trustworthy pragma you needed to ghc-pkg trust base to use base, regardless if you wanted to use Safe Haskell or not. Hmm. In that case, In

Re: [commit: base] master: Update base for new Safe Haskell design (447448a)

2011-10-26 Thread David Terei
Hi Duncan, On 26 October 2011 06:05, Duncan Coutts duncan.cou...@googlemail.com wrote: I don't understand this. Is it required that we mark Data.Trace as unsafe? Why is it not just left unmarked? My previous understanding was that Unsafe was for modules that don't break the language but

[nightly] 26-Oct-2011 build of HEAD on x86_64-unknown-linux (cam-04-unx)

2011-10-26 Thread GHC Build Reports
Build description = HEAD on x86_64-unknown-linux (cam-04-unx) Build location= /64playpen/simonmar/nightly/HEAD-cam-04-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-04-unx Nightly build started on cam-04-unx at Wed Oct 26 18:00:02 BST 2011. checking out new source

pgj (x86 FreeBSD HEAD), build 514, Success

2011-10-26 Thread Builder
pgj (x86 FreeBSD HEAD), build 514 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj/514.html git clone| Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Success booting |

tn23 (x86 OSX HEAD), build 469, Success

2011-10-26 Thread Builder
tn23 (x86 OSX HEAD), build 469 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/tn23/469.html git clone| Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Success booting |

[nightly] 26-Oct-2011 build of HEAD on i386-unknown-linux (cam-02-unx)

2011-10-26 Thread GHC Build Reports
Build description = HEAD on i386-unknown-linux (cam-02-unx) Build location= /playpen/simonmar/nightly/HEAD Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Wed Oct 26 18:00:02 BST 2011. checking out new source tree

pgj2 (amd64 FreeBSD HEAD), build 512, Success

2011-10-26 Thread Builder
pgj2 (amd64 FreeBSD HEAD), build 512 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj2/512.html git clone| Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Success booting

[nightly] 26-Oct-2011 build of STABLE on i386-unknown-linux (cam-02-unx)

2011-10-26 Thread GHC Build Reports
Build description = STABLE on i386-unknown-linux (cam-02-unx) Build location= /playpen/simonmar/nightly/STABLE Build config file = /home/simonmar/nightly/site/msrc/conf-STABLE-cam-02-unx Nightly build started on cam-02-unx at Wed Oct 26 18:10:01 BST 2011. checking out new source tree

pgj-freebsd-i386-stable (x86 FreeBSD STABLE), build 377, Success

2011-10-26 Thread Builder
pgj-freebsd-i386-stable (x86 FreeBSD STABLE), build 377 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-i386-stable/377.html git clone| Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting