Re: ghci024 on tnaur PPC OSX head

2008-01-24 Thread naur
Hello Claus, Claus Reinke <[EMAIL PROTECTED]> wrote: > i'm surprised to see ghci024 failing unexpectedly on > "tnaur PPC OSX head". the reports never seem to > be in visible range when i look at > > http://darcs.haskell.org/buildbot/head/ This is probably because I these days mostly manage to r

Re: patch applied (testsuite): fix intermittent failure with ghci025

2008-01-24 Thread Simon Marlow
Claus Reinke wrote: * fix intermittent failure with ghci025 M ./tests/ghc-regress/ghci/scripts/ghci025.script +2 -- ToDo: this will go wrong in parallel :! cp ../prog001/D1.hs ../prog001/D.hs wouldn't it be easier to enforce the invariant that prog001/* is always compilable? ie, in

Re: darcs patch: Use do notation

2008-01-24 Thread Ian Lynagh
Hi Twan, On Fri, Jan 18, 2008 at 01:34:17AM +0100, Twan van Laarhoven wrote: > > I have finished converting the ghc compiler to do notation. Here is a > patchset. Great stuff, thanks! > The patchset is split into 99 patches, most of which touch one file each. I've applied most of the patches

patch applied (ghc): Fix the build

2008-01-24 Thread Ian Lynagh
Thu Jan 24 06:18:00 PST 2008 Ian Lynagh <[EMAIL PROTECTED]> * Fix the build Work around various problems caused by some of the monadification patches not being applied. M ./compiler/basicTypes/UniqSupply.lhs -3 +25 M ./compiler/deSugar/DsGRHSs.lhs -4 +2 M ./compiler/ghci/RtClosu

patch applied (ghc): Replace ioToTcRn with liftIO

2008-01-24 Thread Ian Lynagh
Thu Jan 17 14:05:53 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Replace ioToTcRn with liftIO M ./compiler/ghci/Linker.lhs -1 +1 M ./compiler/ghci/RtClosureInspect.hs -3 +2 M ./compiler/rename/RnNames.lhs -3 +3 M ./compiler/typecheck/TcClassDcl.lhs -3 +3 M ./compiler/ty

patch applied (ghc): Monadify iface/BuildTyCl: use return

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:50:36 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify iface/BuildTyCl: use return M ./compiler/iface/BuildTyCl.lhs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Monadify iface/TcIface: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:49:38 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify iface/TcIface: use do, return, applicative, standard monad functions M ./compiler/iface/TcIface.lhs -100 +89 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.h

patch applied (ghc): Replace remaining uses of ioToIOEnv by liftIO, remove ioToIOEnv

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:52:33 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Replace remaining uses of ioToIOEnv by liftIO, remove ioToIOEnv M ./compiler/iface/BinIface.hs -1 +1 M ./compiler/utils/IOEnv.hs -4 M ./compiler/vectorise/VectMonad.hs -2 +2 __

patch applied (ghc): Remove unused custom versions of monad combinators from UniqSupply

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:57:52 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Remove unused custom versions of monad combinators from UniqSupply M ./compiler/basicTypes/UniqSupply.lhs -45 +6 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell

patch applied (ghc): Remove unused custom versions of monad combinators from IOEnv

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:58:35 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Remove unused custom versions of monad combinators from IOEnv M ./compiler/utils/IOEnv.hs -70 +21 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/li

patch applied (ghc): Monadify iface/MkIface: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:44:41 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify iface/MkIface: use do, return and standard monad functions M ./compiler/iface/MkIface.lhs -27 +23 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/m

patch applied (ghc): Monadify iface/IfaceEnv: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:40:41 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify iface/IfaceEnv: use do, return and standard monad functions M ./compiler/iface/IfaceEnv.lhs -8 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/m

patch applied (ghc): Monadify iface/LoadIface: use return and liftIO

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:42:33 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify iface/LoadIface: use return and liftIO M ./compiler/iface/LoadIface.lhs -14 +14 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cv

patch applied (ghc): Monadify typecheck/TcRnMonad: use return, standard monad functions and liftIO

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:38:50 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcRnMonad: use return, standard monad functions and liftIO M ./compiler/typecheck/TcRnMonad.lhs -12 +14 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://

patch applied (ghc): Monadify typecheck/TcRnDriver: use return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:33:52 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcRnDriver: use return and standard monad functions M ./compiler/typecheck/TcRnDriver.lhs -10 +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.has

patch applied (ghc): Monadify typecheck/TcMatches: use return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:33:07 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcMatches: use return and standard monad functions M ./compiler/typecheck/TcMatches.lhs -3 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell

patch applied (ghc): Monadify typecheck/TcEnv: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:36:36 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcEnv: use do, return, applicative, standard monad functions M ./compiler/typecheck/TcEnv.lhs -63 +61 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://ww

patch applied (ghc): Monadify typecheck/TcMType: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:32:42 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcMType: use do, return, applicative, standard monad functions M ./compiler/typecheck/TcMType.lhs -103 +94 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Monadify typecheck/TcInstDcls: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:30:40 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcInstDcls: use do, return and standard monad functions M ./compiler/typecheck/TcInstDcls.lhs -43 +41 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www

patch applied (ghc): Monadify typecheck/TcHsType: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:28:22 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcHsType: use do, return and standard monad functions M ./compiler/typecheck/TcHsType.lhs -122 +123 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.h

patch applied (ghc): Monadify typecheck/TcSimplify: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:22:00 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcSimplify: use do, return and standard monad functions M ./compiler/typecheck/TcSimplify.lhs -29 +29 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www

patch applied (ghc): Monadify typecheck/TcSplice: use do and return

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:19:11 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcSplice: use do and return M ./compiler/typecheck/TcSplice.lhs -47 +46 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/

patch applied (ghc): Monadify typecheck/TcTyClsDecls: use return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:17:46 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcTyClsDecls: use return and standard monad functions M ./compiler/typecheck/TcTyClsDecls.lhs -29 +29 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www

patch applied (ghc): Monadify typecheck/TcDeriv: use return

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:15:07 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcDeriv: use return M ./compiler/typecheck/TcDeriv.lhs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Monadify typecheck/TcClassDcl: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:14:39 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcClassDcl: use do, return and standard monad functions M ./compiler/typecheck/TcClassDcl.lhs -87 +85 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www

patch applied (ghc): Monadify typecheck/TcDefaults: use return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:15:58 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcDefaults: use return and standard monad functions M ./compiler/typecheck/TcDefaults.lhs -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haske

patch applied (ghc): Monadify typecheck/TcArrows: use do and return

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:08:18 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcArrows: use do and return M ./compiler/typecheck/TcArrows.lhs -7 +8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cv

patch applied (ghc): Monadify typecheck/TcBinds: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:10:35 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcBinds: use do, return and standard monad functions M ./compiler/typecheck/TcBinds.lhs -12 +14 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haske

patch applied (ghc): Monadify typecheck/Inst: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:06:55 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/Inst: use do, return and standard monad functions M ./compiler/typecheck/Inst.lhs -83 +82 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc): Monadify typecheck/TcUnify: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 13:02:13 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcUnify: use do, return and standard monad functions there may be some accidental tab->space conversion M ./compiler/typecheck/TcUnify.lhs -67 +68 ___ Cv

patch applied (ghc): Monadify typecheck/TcTyFuns: use standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:55:05 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcTyFuns: use standard monad functions M ./compiler/typecheck/TcTyFuns.lhs -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/

patch applied (ghc): Monadify typecheck/TcPat: use return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:54:23 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcPat: use return and standard monad functions M ./compiler/typecheck/TcPat.lhs -5 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mai

patch applied (ghc): Monadify typecheck/TcRules: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:53:07 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcRules: use do, return and standard monad functions M ./compiler/typecheck/TcRules.lhs -17 +16 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haske

patch applied (ghc): Monadify typecheck/TcForeign: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:49:34 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcForeign: use do, return and standard monad functions M ./compiler/typecheck/TcForeign.lhs -78 +77 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.h

patch applied (ghc): Monadify typecheck/TcExpr: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:46:03 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify typecheck/TcExpr: use do, return and standard monad functions M ./compiler/typecheck/TcExpr.lhs -39 +40 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell

patch applied (ghc): Monadify specialise/Specialise: use do, return, standard monad functions and MonadUnique

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:43:30 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify specialise/Specialise: use do, return, standard monad functions and MonadUnique M ./compiler/specialise/Specialise.lhs -121 +104 ___ Cvs-ghc mailing list Cvs-ghc@hask

patch applied (ghc): Monadify specialise/SpecConstr: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:38:42 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify specialise/SpecConstr: use do, return and standard monad functions M ./compiler/specialise/SpecConstr.lhs -22 +22 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://w

patch applied (ghc): Monadify stgSyn/StgLint

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:30:42 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify stgSyn/StgLint - made LintM a newtype instead of a type synonym - use do, return and standard monad functions - use MaybeT where `thenMaybeL` was used - removed custom versions of monad functions M

patch applied (ghc): Monadify stgSyn/CoreToStg

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:26:19 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify stgSyn/CoreToStg - made LneM a newtype instead of a type synonym - use do, return and standard monad functions - removed custom versions of monad functions M ./compiler/stgSyn/CoreToStg.lhs -158 +134 __

patch applied (ghc): Remove generic monad function from State, it was moved to MonadUtils

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:21:44 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Remove generic monad function from State, it was moved to MonadUtils M ./compiler/utils/State.hs -15 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): Removed unused Maybe functions, use the standard Maybe monad instead

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:19:53 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Removed unused Maybe functions, use the standard Maybe monad instead M ./compiler/utils/Maybes.lhs -23 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailm

patch applied (ghc): Added MaybeT monad transformer to utils/Maybes

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:20:51 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Added MaybeT monad transformer to utils/Maybes M ./compiler/utils/Maybes.lhs +21 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): MonadIO instance for IOEnv

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:18:12 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * MonadIO instance for IOEnv M ./compiler/utils/IOEnv.hs -6 +9 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Monadify simplCore/SimplMonad: custom monad functions are no longer needed

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:03:54 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/SimplMonad: custom monad functions are no longer needed M ./compiler/simplCore/SimplMonad.lhs -27 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.

patch applied (ghc): Monadify simplCore/SimplMonad: use MonadUnique instance instead of custom functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 12:02:28 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/SimplMonad: use MonadUnique instance instead of custom functions M ./compiler/simplCore/SimplMonad.lhs -18 +14 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc): Monadify simplCore/SetLevels: use do, return, standard monad functions and MonadUnique

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:59:58 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/SetLevels: use do, return, standard monad functions and MonadUnique M ./compiler/simplCore/SetLevels.lhs -111 +100 ___ Cvs-ghc mailing list Cvs-ghc@haskell.

patch applied (ghc): Monadify simplCore/SimplUtils: use do, return, standard monad functions and MonadUnique

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:56:25 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/SimplUtils: use do, return, standard monad functions and MonadUnique M ./compiler/simplCore/SimplUtils.lhs -13 +15 ___ Cvs-ghc mailing list Cvs-ghc@haskell.

patch applied (ghc): Monadify simplCore/Simplify: use do and return

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:54:08 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/Simplify: use do and return M ./compiler/simplCore/Simplify.lhs -8 +8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cv

patch applied (ghc): Monadify simplCore/SimplEnv: use standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:52:55 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/SimplEnv: use standard monad functions M ./compiler/simplCore/SimplEnv.lhs -3 +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/

patch applied (ghc): Monadify simplCore/SimplCore: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:51:49 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify simplCore/SimplCore: use do, return and standard monad functions M ./compiler/simplCore/SimplCore.lhs -8 +8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.has

patch applied (ghc): Monadify profiling/SCCfinal

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:44:17 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify profiling/SCCfinal - change monad type synonym into a newtype - use do, return and standard monad functions M ./compiler/profiling/SCCfinal.lhs -160 +142 ___ C

patch applied (ghc): Monadify coreSyn/CorePrep: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:31:54 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify coreSyn/CorePrep: use do, return, applicative, standard monad functions M ./compiler/coreSyn/CorePrep.lhs -213 +201 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http:

patch applied (ghc): Monadify rename/RnTypes: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:08:23 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify rename/RnTypes: use do, return and standard monad functions M ./compiler/rename/RnTypes.lhs -95 +95 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc): Monadify rename/RnPat: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 11:00:33 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify rename/RnPat: use do, return and standard monad functions M ./compiler/rename/RnPat.lhs -24 +23 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mai

patch applied (ghc): Monadify rename/RnNames: use return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 10:58:37 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify rename/RnNames: use return and standard monad functions M ./compiler/rename/RnNames.lhs -24 +24 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mai

patch applied (ghc): seqMaybe is more commonly known as mplus

2008-01-24 Thread Ian Lynagh
Thu Jan 17 10:53:30 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * seqMaybe is more commonly known as mplus M ./compiler/main/HscTypes.lhs -2 +3 M ./compiler/rename/RnNames.lhs -2 +2 M ./compiler/rename/RnSource.lhs -7 +7 M ./compiler/typecheck/TcClassDcl.lhs -1 +3 _

patch applied (ghc): Monadify rename/RnBinds: use do, return and standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 10:43:54 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify rename/RnBinds: use do, return and standard monad functions M ./compiler/rename/RnBinds.lhs -81 +79 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org

patch applied (ghc): Monadify stranal/StrictAnal: use the State monad instead of a custom thing

2008-01-24 Thread Ian Lynagh
Thu Jan 17 10:04:49 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify stranal/StrictAnal: use the State monad instead of a custom thing M ./compiler/stranal/StrictAnal.lhs -101 +65 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.

patch applied (ghc): Added MonadUnique class for monads that have a unique supply

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:56:16 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Added MonadUnique class for monads that have a unique supply M ./compiler/basicTypes/UniqSupply.lhs +19 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mail

patch applied (ghc): Monadify stranal/WwLib: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 10:00:22 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify stranal/WwLib: use do, return, applicative, standard monad functions M ./compiler/stranal/WwLib.lhs -74 +69 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.ha

patch applied (ghc): Monadify stranal/WorkWrap: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:50:07 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify stranal/WorkWrap: use do, return, applicative, standard monad functions M ./compiler/stranal/WorkWrap.lhs -50 +42 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://

patch applied (ghc): Added Applicative and Functor instances for State monad

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:46:56 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Added Applicative and Functor instances for State monad M ./compiler/utils/State.hs +12 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs

patch applied (ghc): Monadify deSugar/DsMonad: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:44:32 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsMonad: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsMonad.lhs -37 +26 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://ww

patch applied (ghc): Monadify deSugar/Desugar: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:41:30 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/Desugar: use do, return, applicative, standard monad functions M ./compiler/deSugar/Desugar.lhs -2 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.

patch applied (ghc): Monadify deSugar/DsUtils: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:38:56 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsUtils: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsUtils.lhs -142 +133 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://

patch applied (ghc): Monadify deSugar/DsListComp: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:32:05 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsListComp: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsListComp.lhs -114 +97 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org ht

patch applied (ghc): Monadify deSugar/DsForeign: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:28:43 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsForeign: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsForeign.lhs -155 +148 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org htt

patch applied (ghc): Monadify deSugar/DsGRHSs: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:22:28 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsGRHSs: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsGRHSs.lhs -27 +25 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://ww

patch applied (ghc): Monadify deSugar/DsExpr: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:40:55 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsExpr: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsExpr.lhs -128 +87 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www

patch applied (ghc): Added Applicative instance for IOEnv

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:26:44 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Added Applicative instance for IOEnv M ./compiler/utils/IOEnv.hs -6 +10 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Add 'util/MonadUtils.hs' with common monad (and applicative) combinators

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:19:39 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Add 'util/MonadUtils.hs' with common monad (and applicative) combinators A ./compiler/utils/MonadUtils.hs ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/ma

patch applied (ghc): Monadify deSugar/MatchLit: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:34:39 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/MatchLit: use do, return, applicative, standard monad functions M ./compiler/deSugar/MatchLit.lhs -14 +14 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://

patch applied (ghc): Monadify deSugar/Match: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 09:33:36 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/Match: use do, return, applicative, standard monad functions M ./compiler/deSugar/Match.lhs -43 +41 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.ha

patch applied (ghc): Monadify deSugar/DsCCall: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:53:34 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsCCall: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsCCall.lhs -128 +121 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://

patch applied (ghc): Monadify deSugar/DsArrows: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:51:14 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsArrows: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsArrows.lhs -398 +340 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http:

patch applied (ghc): Monadify deSugar/DsBinds: use do, return, applicative, standard monad functions

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:47:46 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Monadify deSugar/DsBinds: use do, return, applicative, standard monad functions M ./compiler/deSugar/DsBinds.lhs -37 +36 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://ww

patch applied (ghc): Added MASSERT macro for assertions in do notation

2008-01-24 Thread Ian Lynagh
Thu Jan 17 08:31:12 PST 2008 Twan van Laarhoven <[EMAIL PROTECTED]> * Added MASSERT macro for assertions in do notation M ./compiler/HsVersions.h +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

ghci024 on tnaur PPC OSX head

2008-01-24 Thread Claus Reinke
i'm surprised to see ghci024 failing unexpectedly on "tnaur PPC OSX head". the reports never seem to be in visible range when i look at http://darcs.haskell.org/buildbot/head/ but one can reconstruct the last build url (could there please be a direct link from the buildbot page headers to the la

Re: patch applied (testsuite): fix intermittent failure with ghci025

2008-01-24 Thread Claus Reinke
* fix intermittent failure with ghci025 M ./tests/ghc-regress/ghci/scripts/ghci025.script +2 -- ToDo: this will go wrong in parallel :! cp ../prog001/D1.hs ../prog001/D.hs wouldn't it be easier to enforce the invariant that prog001/* is always compilable? ie, instead of having to cr

patch applied (testsuite): accept output (change to default exception handler in Control.Exeption)

2008-01-24 Thread Simon Marlow
Thu Jan 24 02:04:48 PST 2008 Simon Marlow <[EMAIL PROTECTED]> * accept output (change to default exception handler in Control.Exeption) M ./tests/ghc-regress/concurrent/should_run/conc064.stderr -1 M ./tests/ghc-regress/deSugar/should_run/dsrun005.stderr -1 M ./tests/ghc-regress/deS

patch applied (ghc): FIX BUILD wrong imports on non-Windows

2008-01-24 Thread Simon Marlow
Thu Jan 24 01:29:35 PST 2008 Simon Marlow <[EMAIL PROTECTED]> * FIX BUILD wrong imports on non-Windows M ./compiler/ghci/InteractiveUI.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: HEAD build fails with problem in InteractiveUI.hs

2008-01-24 Thread Simon Marlow
Max Bolingbroke wrote: I seem to be having problem with building GHC, possibly due to the recent patches to compiler/ghci/InteractiveUI.hs The error is as follows: "" ghci/InteractiveUI.hs:367:37: Not in scope: `' ghci/InteractiveUI.hs:373:39: Not in scope: `' ghci/InteractiveUI.hs:388:28: Not

patch applied (testsuite): add test for #1750

2008-01-24 Thread Simon Marlow
Wed Jan 23 08:29:52 PST 2008 Simon Marlow <[EMAIL PROTECTED]> * add test for #1750 A ./tests/ghc-regress/cabal/1750.stderr A ./tests/ghc-regress/cabal/1750.stdout A ./tests/ghc-regress/cabal/1750A.pkg A ./tests/ghc-regress/cabal/1750B.pkg M ./tests/ghc-regress/cabal/Makefile

patch applied (ghc): Show CmdLineError exceptions as ": ..."

2008-01-24 Thread Simon Marlow
Wed Jan 23 08:31:45 PST 2008 Simon Marlow <[EMAIL PROTECTED]> * Show CmdLineError exceptions as ": ..." instead of something like "ghc-6.8.2: ...", which causes problems in the test suite. In any case, "" seems a more appropriate context for these errors, the only question is whether we

patch applied (ghc): FIX #1750: in isBrokenPackage, don't loop if the deps are recursive

2008-01-24 Thread Simon Marlow
Wed Jan 23 08:07:03 PST 2008 Simon Marlow <[EMAIL PROTECTED]> * FIX #1750: in isBrokenPackage, don't loop if the deps are recursive M ./utils/ghc-pkg/Main.hs -3 +8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listin

patch applied (ghc): FIX #1750: throw out mutually recursive groups of packages

2008-01-24 Thread Simon Marlow
Wed Jan 23 08:06:35 PST 2008 Simon Marlow <[EMAIL PROTECTED]> * FIX #1750: throw out mutually recursive groups of packages M ./compiler/main/Packages.lhs -14 +23 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo

Daily report for head

2008-01-24 Thread BuildBot Collator
Build results: x86-64 Linux head: fail (failed stage2 bindist bindisttest failed slave lost) x86 Windows head fast: pass lost pass pass pass kahl G5 Gentoo Linux head: pass x86-64 Linux head unreg: fail (failed stage2 failed slave lost) Old unexpected test passes: conc052 2 x

Daily report for stable

2008-01-24 Thread BuildBot Collator
Build results: gabor stable: pass kahl G5 Gentoo Linux stable:pass mnemosyne x86-64 Gentoo stable: pass tnaur x86 Linux stable: fail (failed stage1) x86 Windows stable fast:pass pass pass pass pass x86-64 Linux stable:lost New unexpected test failu