ghc-hetmet.git
18 years agoRemove checkTopTypeD
Manuel M T Chakravarty [Mon, 18 Sep 2006 22:53:32 +0000 (22:53 +0000)]
Remove checkTopTypeD
Tue Aug 15 17:02:53 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Remove checkTopTypeD

18 years agoRemove argument variance info of tycons
Manuel M T Chakravarty [Mon, 18 Sep 2006 21:50:52 +0000 (21:50 +0000)]
Remove argument variance info of tycons
Fri Aug 11 13:53:24 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Remove argument variance info of tycons
  - Following SPJ's suggestion, this patch removes the variance information from
    type constructors.  This information was computed, but never used.

  ** WARNING: This patch changes the format of interface files **
  **          You will need to rebuild from scratch.           **

18 years agoDon't lift ATs out of classes and instances before tc
Manuel M T Chakravarty [Mon, 18 Sep 2006 21:46:52 +0000 (21:46 +0000)]
Don't lift ATs out of classes and instances before tc
Wed Aug  9 15:31:08 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Don't lift ATs out of classes and instances before tc

18 years agoIndexed type defs are not declaring type names
Manuel M T Chakravarty [Mon, 18 Sep 2006 21:40:32 +0000 (21:40 +0000)]
Indexed type defs are not declaring type names
Tue Aug  8 19:27:31 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Indexed type defs are not declaring type names

18 years agoDeriving Eq for OverlapFlag again
Manuel M T Chakravarty [Mon, 18 Sep 2006 21:26:11 +0000 (21:26 +0000)]
Deriving Eq for OverlapFlag again
Mon Aug  7 11:15:21 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Deriving Eq for OverlapFlag again

18 years agofix out-of-scope variable
Manuel M T Chakravarty [Mon, 18 Sep 2006 21:04:58 +0000 (21:04 +0000)]
fix out-of-scope variable
Sun Aug  6 20:09:58 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * fix out-of-scope variable
  Fri Jul 28 13:40:36 EDT 2006  kevind@bu.edu

18 years agoGADT pattern matching fix
Manuel M T Chakravarty [Mon, 18 Sep 2006 20:40:38 +0000 (20:40 +0000)]
GADT pattern matching fix
Sun Aug  6 17:01:59 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * GADT pattern matching fix
  Wed Jul 19 10:53:09 EDT 2006  kevind@bu.edu

18 years agoSimplify mkDataCon slightly
Manuel M T Chakravarty [Mon, 18 Sep 2006 18:46:21 +0000 (18:46 +0000)]
Simplify mkDataCon slightly
Sat Aug  5 21:42:48 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Simplify mkDataCon slightly
  Fri Jul 14 12:48:50 EDT 2006  simonpj@microsoft.com

18 years agoPartial changes for derived newtype instances
Manuel M T Chakravarty [Mon, 18 Sep 2006 18:16:21 +0000 (18:16 +0000)]
Partial changes for derived newtype instances
Sat Aug  5 21:16:57 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Partial changes for derived newtype instances
  Fri Jul  7 05:45:15 EDT 2006  simonpj@microsoft.com

18 years agoMassive patch for the first months work adding System FC to GHC #3
Manuel M T Chakravarty [Mon, 18 Sep 2006 18:13:17 +0000 (18:13 +0000)]
Massive patch for the first months work adding System FC to GHC #3
Fri Aug  4 15:21:36 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Massive patch for the first months work adding System FC to GHC #3

  Broken up massive patch -=chak
  Original log message:
  This is (sadly) all done in one patch to avoid Darcs bugs.
  It's not complete work... more FC stuff to come.  A compiler
  using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #1
Manuel M T Chakravarty [Mon, 18 Sep 2006 18:10:54 +0000 (18:10 +0000)]
Massive patch for the first months work adding System FC to GHC #1
Fri Aug  4 15:11:01 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Massive patch for the first months work adding System FC to GHC #1
  Broken up massive patch -=chak
  Original log message:
  This is (sadly) all done in one patch to avoid Darcs bugs.
  It's not complete work... more FC stuff to come.  A compiler
  using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #31
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:33:31 +0000 (21:33 +0000)]
Massive patch for the first months work adding System FC to GHC #31
Fri Aug  4 18:13:56 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Massive patch for the first months work adding System FC to GHC #31

  Broken up massive patch -=chak
  Original log message:
  This is (sadly) all done in one patch to avoid Darcs bugs.
  It's not complete work... more FC stuff to come.  A compiler
  using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #30
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:24:58 +0000 (21:24 +0000)]
Massive patch for the first months work adding System FC to GHC #30
Fri Aug  4 18:13:20 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Massive patch for the first months work adding System FC to GHC #30

  Broken up massive patch -=chak
  Original log message:
  This is (sadly) all done in one patch to avoid Darcs bugs.
  It's not complete work... more FC stuff to come.  A compiler
  using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #14
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:19:18 +0000 (21:19 +0000)]
Massive patch for the first months work adding System FC to GHC #14
Fri Aug  4 15:59:09 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Massive patch for the first months work adding System FC to GHC #14

  Broken up massive patch -=chak
  Original log message:
  This is (sadly) all done in one patch to avoid Darcs bugs.
  It's not complete work... more FC stuff to come.  A compiler
  using just this patch will fail dismally.

18 years agoAdded error checks & fixed bugs
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:04:28 +0000 (21:04 +0000)]
Added error checks & fixed bugs
Thu Aug  3 19:29:38 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Added error checks & fixed bugs

18 years agoFix class construction
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:02:06 +0000 (21:02 +0000)]
Fix class construction
Wed Aug  2 13:34:58 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Fix class construction

18 years agoRenaming of indexed types
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:01:06 +0000 (21:01 +0000)]
Renaming of indexed types
Tue Aug  1 23:51:38 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Renaming of indexed types

18 years agoRenaming of kind signatures (rnTySig)
Manuel M T Chakravarty [Fri, 15 Sep 2006 21:00:10 +0000 (21:00 +0000)]
Renaming of kind signatures (rnTySig)
Tue Aug  1 16:39:51 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Renaming of kind signatures (rnTySig)

18 years agoRevised kind signatures
Manuel M T Chakravarty [Fri, 15 Sep 2006 20:54:39 +0000 (20:54 +0000)]
Revised kind signatures
Tue Aug  1 14:10:39 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Revised kind signatures

18 years agoCleanup (re type function parsing)
Manuel M T Chakravarty [Fri, 15 Sep 2006 20:51:54 +0000 (20:51 +0000)]
Cleanup (re type function parsing)
Mon Jul 31 17:20:56 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Cleanup (re type function parsing)

18 years agoParser support for assoc synonyms
Manuel M T Chakravarty [Fri, 15 Sep 2006 20:49:30 +0000 (20:49 +0000)]
Parser support for assoc synonyms
Fri Jul 28 21:52:46 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Parser support for assoc synonyms

18 years agoFix migrated AT support
Manuel M T Chakravarty [Fri, 15 Sep 2006 20:45:37 +0000 (20:45 +0000)]
Fix migrated AT support
Wed Jul 26 18:16:25 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Fix migrated AT support
  - Make it compile
  - Successfully parses and renames simple AT declarations
  - Should not affect non-AT programs

18 years agoMigrate cvs diff from fptools-assoc branch
Manuel M T Chakravarty [Fri, 15 Sep 2006 20:43:38 +0000 (20:43 +0000)]
Migrate cvs diff from fptools-assoc branch
Wed Jul 26 17:46:55 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Migrate cvs diff from fptools-assoc branch
  - Syntactic support for associated types
  - Renamer support for associated types
  - ATs are only allowed with -fglasgow-exts
  - Handle ATs in the type and class declaration kinding knot-tying exercise

18 years agoComment on the commoning up of CoPats in Match
simonpj@microsoft.com [Wed, 6 Sep 2006 11:42:23 +0000 (11:42 +0000)]
Comment on the commoning up of CoPats in Match

18 years agoAdd comment for the invariant that DataAlt is never a newtype
simonpj@microsoft.com [Wed, 6 Sep 2006 11:41:55 +0000 (11:41 +0000)]
Add comment for the invariant that DataAlt is never a newtype

18 years agoComments only
simonpj@microsoft.com [Mon, 4 Sep 2006 13:55:13 +0000 (13:55 +0000)]
Comments only

18 years agoChange ASSERT to WARN
simonpj@microsoft.com [Wed, 9 Aug 2006 08:46:20 +0000 (08:46 +0000)]
Change ASSERT to WARN

18 years agoOccName->FS in tyThingToIfaceDecl that moved to MkIface
Manuel M T Chakravarty [Mon, 7 Aug 2006 17:38:39 +0000 (17:38 +0000)]
OccName->FS in tyThingToIfaceDecl that moved to MkIface

18 years agoFix pattern w/o location in Check
Manuel M T Chakravarty [Mon, 7 Aug 2006 17:09:53 +0000 (17:09 +0000)]
Fix pattern w/o location in Check

18 years agoOccName->FS change over for equalities in GADTs
Manuel M T Chakravarty [Mon, 7 Aug 2006 15:16:34 +0000 (15:16 +0000)]
OccName->FS change over for equalities in GADTs

18 years agoComments only
Manuel M T Chakravarty [Mon, 7 Aug 2006 00:46:13 +0000 (00:46 +0000)]
Comments only
Wed Aug  2 05:00:03 EDT 2006  kevind@bu.edu

18 years agoCorrect grevious bug in mkSymCoercion
Manuel M T Chakravarty [Mon, 7 Aug 2006 00:31:40 +0000 (00:31 +0000)]
Correct grevious bug in mkSymCoercion
Tue Aug  1 08:53:05 EDT 2006  simonpj@microsoft.com

18 years agoGADT tweaks
Manuel M T Chakravarty [Mon, 7 Aug 2006 00:23:45 +0000 (00:23 +0000)]
GADT tweaks
Mon Jul 31 12:42:07 EDT 2006  kevind@bu.edu

18 years agoConfigure changes to make testsuite work better on MSys
Manuel M T Chakravarty [Mon, 7 Aug 2006 00:05:18 +0000 (00:05 +0000)]
Configure changes to make testsuite work better on MSys
Fri Jul 28 06:49:35 EDT 2006  simonpj@microsoft.com

18 years agoRemove Control-M from Coercion.hs
Manuel M T Chakravarty [Sun, 6 Aug 2006 23:59:25 +0000 (23:59 +0000)]
Remove Control-M from Coercion.hs
Thu Jul 27 04:07:46 EDT 2006  simonpj@microsoft.com

18 years agoAdd Coercion.lhs
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:40:25 +0000 (21:40 +0000)]
Add Coercion.lhs
- Extra patch as diff doesn't capture add files

18 years agoAdding TcGadt.lhs
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:35:23 +0000 (21:35 +0000)]
Adding TcGadt.lhs
- Seperate patch as diff doesn't capture file adds
- Includes the patch:
  Wed Jul 26 08:23:35 EDT 2006  simonpj@microsoft.com
  Add a missing mkSymCoercion in TcGadt.uVar

18 years agoAdd a missing prime, to fix desugaring of CoPats
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:27:11 +0000 (21:27 +0000)]
Add a missing prime, to fix desugaring of CoPats
Wed Jul 26 08:23:11 EDT 2006  simonpj@microsoft.com

18 years agoComments and tidy-up
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:26:28 +0000 (21:26 +0000)]
Comments and tidy-up
Wed Jul 26 08:22:50 EDT 2006  simonpj@microsoft.com

18 years agoFix a lint bug with coercions
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:21:11 +0000 (21:21 +0000)]
Fix a lint bug with coercions
Wed Jul 26 08:18:25 EDT 2006  simonpj@microsoft.com

18 years agoGADT fixes
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:20:26 +0000 (21:20 +0000)]
GADT fixes
Wed Jul 26 06:00:53 EDT 2006  kevind@bu.edu

18 years agoAdd CoPat stuff
Manuel M T Chakravarty [Sun, 6 Aug 2006 21:00:58 +0000 (21:00 +0000)]
Add CoPat stuff
Wed Jul 19 09:55:27 EDT 2006  kevind@bu.edu

18 years agoResolve conflict in MkExternalCore
Manuel M T Chakravarty [Sun, 6 Aug 2006 01:10:28 +0000 (01:10 +0000)]
Resolve conflict in MkExternalCore
Thu Jul  6 09:55:27 EDT 2006  simonpj@microsoft.com

18 years agoMassive patch for the first months work adding System FC to GHC #36
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:24:36 +0000 (22:24 +0000)]
Massive patch for the first months work adding System FC to GHC #36

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #35
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:23:51 +0000 (22:23 +0000)]
Massive patch for the first months work adding System FC to GHC #35

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #33
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:14:55 +0000 (22:14 +0000)]
Massive patch for the first months work adding System FC to GHC #33

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #32
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:14:23 +0000 (22:14 +0000)]
Massive patch for the first months work adding System FC to GHC #32

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #29
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:12:21 +0000 (22:12 +0000)]
Massive patch for the first months work adding System FC to GHC #29

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #28
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:11:48 +0000 (22:11 +0000)]
Massive patch for the first months work adding System FC to GHC #28

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #27
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:10:01 +0000 (22:10 +0000)]
Massive patch for the first months work adding System FC to GHC #27

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #26
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:06:14 +0000 (22:06 +0000)]
Massive patch for the first months work adding System FC to GHC #26

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #25
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:05:26 +0000 (22:05 +0000)]
Massive patch for the first months work adding System FC to GHC #25

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #24
Manuel M T Chakravarty [Fri, 4 Aug 2006 22:04:23 +0000 (22:04 +0000)]
Massive patch for the first months work adding System FC to GHC #24

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #23
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:58:46 +0000 (21:58 +0000)]
Massive patch for the first months work adding System FC to GHC #23

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #22
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:56:42 +0000 (21:56 +0000)]
Massive patch for the first months work adding System FC to GHC #22

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #21
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:54:14 +0000 (21:54 +0000)]
Massive patch for the first months work adding System FC to GHC #21

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #19
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:39:46 +0000 (21:39 +0000)]
Massive patch for the first months work adding System FC to GHC #19

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #18
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:36:10 +0000 (21:36 +0000)]
Massive patch for the first months work adding System FC to GHC #18

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #17
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:21:40 +0000 (21:21 +0000)]
Massive patch for the first months work adding System FC to GHC #17

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #16
Manuel M T Chakravarty [Fri, 4 Aug 2006 21:19:12 +0000 (21:19 +0000)]
Massive patch for the first months work adding System FC to GHC #16

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #15
Manuel M T Chakravarty [Fri, 4 Aug 2006 20:01:05 +0000 (20:01 +0000)]
Massive patch for the first months work adding System FC to GHC #15

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #13
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:57:34 +0000 (19:57 +0000)]
Massive patch for the first months work adding System FC to GHC #13

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #12
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:56:07 +0000 (19:56 +0000)]
Massive patch for the first months work adding System FC to GHC #12

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #11
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:54:06 +0000 (19:54 +0000)]
Massive patch for the first months work adding System FC to GHC #11

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #10
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:51:45 +0000 (19:51 +0000)]
Massive patch for the first months work adding System FC to GHC #10

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #9
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:49:08 +0000 (19:49 +0000)]
Massive patch for the first months work adding System FC to GHC #9

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #8
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:39:05 +0000 (19:39 +0000)]
Massive patch for the first months work adding System FC to GHC #8

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #7
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:37:19 +0000 (19:37 +0000)]
Massive patch for the first months work adding System FC to GHC #7

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #6
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:35:30 +0000 (19:35 +0000)]
Massive patch for the first months work adding System FC to GHC #6

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #5
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:24:00 +0000 (19:24 +0000)]
Massive patch for the first months work adding System FC to GHC #5

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #4
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:23:02 +0000 (19:23 +0000)]
Massive patch for the first months work adding System FC to GHC #4

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoMassive patch for the first months work adding System FC to GHC #2
Manuel M T Chakravarty [Fri, 4 Aug 2006 19:19:37 +0000 (19:19 +0000)]
Massive patch for the first months work adding System FC to GHC #2

Broken up massive patch -=chak
Original log message:
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come.  A compiler
using just this patch will fail dismally.

18 years agoComments only
simonpj@microsoft.com [Fri, 4 Aug 2006 08:24:03 +0000 (08:24 +0000)]
Comments only

18 years agoAdd new field to TySynonym
Manuel M T Chakravarty [Wed, 2 Aug 2006 17:10:52 +0000 (17:10 +0000)]
Add new field to TySynonym

18 years agoMake 'iso' special in the parser
Manuel M T Chakravarty [Wed, 2 Aug 2006 14:06:30 +0000 (14:06 +0000)]
Make 'iso' special in the parser

18 years agoAdd missing Cast cases to libCase and scExpr
kevind@bu.edu [Tue, 1 Aug 2006 10:50:31 +0000 (10:50 +0000)]
Add missing Cast cases to libCase and scExpr

18 years agoMake mkApps etc infix, and left-associative
simonpj@microsoft.com [Wed, 26 Jul 2006 12:18:07 +0000 (12:18 +0000)]
Make mkApps etc infix, and left-associative

18 years agoA somewhat subtle (FC-related) bug concerning the monomorphism restriction
simonpj@microsoft.com [Wed, 26 Jul 2006 09:46:55 +0000 (09:46 +0000)]
A somewhat subtle (FC-related) bug concerning the monomorphism restriction

18 years agoAdd some type signatures
simonpj@microsoft.com [Fri, 14 Jul 2006 16:50:11 +0000 (16:50 +0000)]
Add some type signatures

18 years agoA class in an interface file defines the CoTyCon of its class tyocn
simonpj@microsoft.com [Thu, 13 Jul 2006 21:34:18 +0000 (21:34 +0000)]
A class in an interface file defines the CoTyCon of its class tyocn

18 years agoTiny comment change (darcs test only)
simonpj@microsoft.com [Thu, 6 Jul 2006 16:51:02 +0000 (16:51 +0000)]
Tiny comment change (darcs test only)

18 years agoCurrently we don't build cabal-setup Before_FC_branch_merge
sven.panne@aedion.de [Tue, 19 Sep 2006 08:17:59 +0000 (08:17 +0000)]
Currently we don't build cabal-setup

18 years agoPackages cleanup, and allow new packages to be loaded with :set again
Simon Marlow [Tue, 19 Sep 2006 01:24:48 +0000 (01:24 +0000)]
Packages cleanup, and allow new packages to be loaded with :set again

This cleans up the package subsystem a little.  There are some
changes to the GHC API as a result.

  - GHC.init and GHC.initFromArgs are no longer necessary.

  - GHC.newSession takes the root of the GHC tree as an argument
    (previously passed to GHC.init).

  - You *must* do GHC.setSessionDynFlags after GHC.newSession,
    this is what loads the package database.

  - Several global vars removed from SysTools

  - The :set command in GHCi can now cause new packages to be loaded,
    or can hide/ignore existing packages.

18 years agoone more boring file
Simon Marlow [Tue, 19 Sep 2006 01:18:49 +0000 (01:18 +0000)]
one more boring file

18 years agofix one boring file
Simon Marlow [Tue, 19 Sep 2006 01:18:23 +0000 (01:18 +0000)]
fix one boring file

18 years agounused imports
Simon Marlow [Tue, 19 Sep 2006 01:17:46 +0000 (01:17 +0000)]
unused imports

18 years agoadd boring files from a build tree
Simon Marlow [Tue, 19 Sep 2006 01:17:22 +0000 (01:17 +0000)]
add boring files from a build tree

18 years agoremove old comment
Simon Marlow [Tue, 19 Sep 2006 01:03:33 +0000 (01:03 +0000)]
remove old comment

18 years agounused import
Simon Marlow [Tue, 19 Sep 2006 01:03:03 +0000 (01:03 +0000)]
unused import

18 years agosome updates
Simon Marlow [Mon, 18 Sep 2006 23:29:24 +0000 (23:29 +0000)]
some updates

18 years agouse ghc-pkg --force-files, and update command-line syntax
Simon Marlow [Mon, 18 Sep 2006 23:29:03 +0000 (23:29 +0000)]
use ghc-pkg --force-files, and update command-line syntax

18 years agoadd --force-files, like --force but doesn't allow missing dependencies
Simon Marlow [Mon, 18 Sep 2006 23:28:34 +0000 (23:28 +0000)]
add --force-files, like --force but doesn't allow missing dependencies

18 years agoemit an error if the user ran autoconf instead of autoreconf
Simon Marlow [Sat, 16 Sep 2006 08:42:05 +0000 (08:42 +0000)]
emit an error if the user ran autoconf instead of autoreconf

18 years agoSanity check that all the core packages are present
Simon Marlow [Sat, 16 Sep 2006 07:05:29 +0000 (07:05 +0000)]
Sanity check that all the core packages are present
To catch the case of not running darcs-all get.

18 years agoreformat import
Simon Marlow [Wed, 13 Sep 2006 10:35:12 +0000 (10:35 +0000)]
reformat import

18 years agominor reformatting
Simon Marlow [Wed, 13 Sep 2006 10:34:27 +0000 (10:34 +0000)]
minor reformatting

18 years agocompiler/ isn't boring
Simon Marlow [Wed, 13 Sep 2006 02:13:00 +0000 (02:13 +0000)]
compiler/ isn't boring

18 years agoAdded parsing rule for BangPattern in case expr
Markus Lauer [Mon, 18 Sep 2006 16:18:50 +0000 (16:18 +0000)]
Added parsing rule for BangPattern in case expr

18 years agoFix a bug in subsumption, and tweak error messages
simonpj@microsoft.com [Mon, 18 Sep 2006 00:52:23 +0000 (00:52 +0000)]
Fix a bug in subsumption, and tweak error messages

This commit does two largely-unrelated things, but they hit the same code.

First, I tweaked the error messages a bit, to give better errors
for impredicative polymorphism.  This added the mb_fun argument to
tc_sub.

Second, I fixed a long-standing bug in tc_sub.  In the isBoxyTyVar case
of tc_sub (rule F2) I was not recursing to tc_sub as the rule suggests,
but rather calling u_tys.  This is plain wrong, because the first
arugment might have more foralls.

The solution is to recurse to tc_sub, but that in turn requires a parameter,
exp_ib, which says when we are inside a box.

Test is tc210.

18 years agoComments
simonpj@microsoft.com [Mon, 18 Sep 2006 00:51:42 +0000 (00:51 +0000)]
Comments