1. 09 Dec, 1999 3 commits
  2. 08 Dec, 1999 7 commits
  3. 07 Dec, 1999 17 commits
    • simonmar's avatar
      [project @ 1999-12-07 15:52:40 by simonmar] · f9716798
      simonmar authored
      Now that $(GHC) refers to an installed haskell compiler, use
      $(GHC_INPLACE) to refer to the ghc in the build tree.
    • simonpj's avatar
      [project @ 1999-12-07 15:50:13 by simonpj] · 4cf0f63b
      simonpj authored
      Remove long-outdated AnalFBWW
    • simonmar's avatar
      [project @ 1999-12-07 15:49:52 by simonmar] · bf33ba3a
      simonmar authored
      Now that $(GHC) means an installed copy of ghc, use $(GHC_INPLACE) to
      refer to the ghc in the build tree.
    • simonpj's avatar
      [project @ 1999-12-07 15:48:02 by simonpj] · 15ce62ca
      simonpj authored
      Add drvrun008
    • simonmar's avatar
      [project @ 1999-12-07 15:43:40 by simonmar] · 747bac96
      simonmar authored
      Automatically detect installed copies of ghc, nhc and hbc and plug
      them into the Makefile variables $(GHC), $(NHC) and $(HBC)
      respectively.  $(HC) is now supposed to be a generic installed haskell
      compiler, which defaults to $(GHC) and can be changed via ./configure
      Reorganise and tidy up a few things in config.mk.in.
    • simonpj's avatar
      [project @ 1999-12-07 15:03:08 by simonpj] · 368eac75
      simonpj authored
      Derived instances should use *source* types not *representation*
      types when doing their deriving stuff.  This bug prevented
      	data F = F !Int deriving (Eq)
      from working when -funbox-strict-fields was on
    • chak's avatar
      [project @ 1999-12-07 14:46:31 by chak] · 6fb805e5
      chak authored
      Package local configuration scripts allow to modularise the configuration (we
      start by having one for ghc):
      * Modularised configuration avoids unnecessary dependencies for individual
      * Furthermore, package local configuration (such as entering version
        information into rpm .spec files) is possible.
    • chak's avatar
      [project @ 1999-12-07 14:38:58 by chak] · 1a9c9949
      chak authored
      Of course, I had to get the name wrong - this has to be mangled by configure
      (eg, to set the version number).
      Also added dependency on gmp-devel (see discussion on glasgow-haskell-bugs).
    • panne's avatar
      [project @ 1999-12-07 13:04:31 by panne] · 60464668
      panne authored
      OK, don't say you haven't been warned: Sven "Larry W." Panne waved his
      Perl-wand and changed a / / into /\s+/. This fixes the problem with
      multiple spaces between {-# OPTIONS ... -#}, but still fails miserably
      when quotes are used, e.g. {-# OPTIONS -#include "My Own Header.h" #-}.
    • chak's avatar
      [project @ 1999-12-07 13:03:25 by chak] · dbce0191
      chak authored
      rpm build specifications in CVS are a first step to building packages
      automatically from CVS (I test this with ghc, but support for the other
      fptools components will follow)
    • sewardj's avatar
      [project @ 1999-12-07 11:55:25 by sewardj] · 7fa1adea
      sewardj authored
      Increase default c-t heap from 300000 to 350000 cells for nofib/real/anna.
    • sewardj's avatar
      [project @ 1999-12-07 11:49:09 by sewardj] · eaf6532a
      sewardj authored
      Add i_ALLOC_CONSTR_big (== i_ALLOC_CONSTR with a 16-bit field
      denoting offset of into table).  The large constant tables in
      nofib/spectral/hartel/nucleic2 need this.
    • sewardj's avatar
      [project @ 1999-12-07 11:36:40 by sewardj] · 95b10333
      sewardj authored
      Correctly detect saturated applications of tuples, following
      recent change to Tuple machinery in Hugs.
    • sewardj's avatar
      [project @ 1999-12-07 11:22:56 by sewardj] · fffe6bca
      sewardj authored
      Remove unused machinery for computing the amount of heap a BCO will
      allocate.  This isn't used because Hugs uses the allocate() mechanism
      rather than allocating by advancing Hp.
    • simonmar's avatar
      [project @ 1999-12-07 11:19:35 by simonmar] · 471e777a
      simonmar authored
      test $(IncludeTestDirsInBuild)
    • simonmar's avatar
      [project @ 1999-12-07 11:16:53 by simonmar] · 54dd8d98
      simonmar authored
    • sewardj's avatar
      [project @ 1999-12-07 11:14:56 by sewardj] · 6478af6d
      sewardj authored
      Don't create a new infotable for every constructor application.
      Amazingly, that's what the codegen.c used to do.  It didn't generate
      vast numbers of redundant infotables until recently, when I changed
      translate.c to generate saturated constructor applications in line.
      Prior to that, there was only ever one application of each constructor,
      so the old scheme was ok.
      Also, fix the assembler so that info table ptrs are commoned up.
      Eg, for [1,2,3], store only one copy of the address of the (:) itbl,
      rather than 3, in the BCO.
  4. 06 Dec, 1999 8 commits
    • lewie's avatar
      [project @ 1999-12-06 22:52:26 by lewie] · e03c0dd3
      lewie authored
      Fixed a FunDep leak in tcSimplifyToDicts (they weren't being filtered out),
      and fixed bug in instance improvement (matching wasn't being done correctly
      for polymorphic instances).
    • sewardj's avatar
      [project @ 1999-12-06 16:47:07 by sewardj] · 0e0bde9e
      sewardj authored
      Remove compile-time address space allocated to tuples, and remove all
      references to TUPMIN.  I think I have fixed the address mapping for
      when TREX is defined, but you never know.
    • sewardj's avatar
      [project @ 1999-12-06 16:25:23 by sewardj] · 39135867
      sewardj authored
      Remove Hugs' special treatment of tuples, and instead have them as
      just another Tycon.  This is to make interworking with GHC simpler.
      Put tuple entries in the Tycon table.  Modify isTycon, isTuple, tupleOf,
      mkTuple and whatIs so that client code doesn't see any difference.
      Add allocTupleTycon to manufacture tuple Tycon entries as startup.
    • sewardj's avatar
      [project @ 1999-12-06 16:20:26 by sewardj] · 7c0ef81a
      sewardj authored
      Only detect (# and #) as special tokens when parsing interface files.
    • simonpj's avatar
      [project @ 1999-12-06 15:48:41 by simonpj] · d5b9dfff
      simonpj authored
      Add missing stdout file
    • simonpj's avatar
      [project @ 1999-12-06 15:38:05 by simonpj] · 49bb4580
      simonpj authored
      Some minor tidying-up that should remove an occurrence
      of an empty Let Rec that confused CoreLint.dumpLoc.
    • simonpj's avatar
      [project @ 1999-12-06 11:54:56 by simonpj] · fbdd694d
      simonpj authored
      Fix a major bug in exporting unfoldings involving existentials.
      Change core printing so that we put an '@' before type
      variables in case patterns.  This only affects existentials.
      	case x of
      	  C @ a x y -> ...
      Here 'a' is an existentially quantified type variable, and the
      '@' signifies this.  We continue to omit kinds and type on case-bound
      variables; the type checker can fill them in.
      The reason for this change is that type variables and term variables
      live in a different name space, so we need to know which name space
      is  involved when binding one.  How this ever worked I will never know.
      While I was at it, I also arranged that -ddump-rn prints out whatever
      it has even if it finds errors.  Adding -dppr-debug prints even the
      unfoldings on imported things.
    • simonpj's avatar
      [project @ 1999-12-06 10:50:29 by simonpj] · 81253051
      simonpj authored
      Change printDump so that it prints in user style by default.
      This means that (eg) -ddump-simpl output is much more readable...
      but you may get confused by variables that look the same but aren't.
      To recover the previous behaviour use -dppr-debug
      This change only affects compiler hackers; let me know if it
      has any good or bad effects.
  5. 04 Dec, 1999 3 commits
  6. 03 Dec, 1999 2 commits
    • lewie's avatar
      [project @ 1999-12-03 18:17:29 by lewie] · c2b053f3
      lewie authored
      Extend getTyVarsToGen to take the closure of the set of tyvars
      with respect to functional dependencies.  Really simple programs
      using functional dependencies work now.  Also fixed a small glitch
      where trivial (empty) FunDeps were being tossed into the context willy nilly.
    • sewardj's avatar
      [project @ 1999-12-03 17:56:04 by sewardj] · 4dd14773
      sewardj authored
      Remove some hooks into the Prelude which Hugs no longer needs to know about.