1. 15 Aug, 2001 29 commits
  2. 14 Aug, 2001 9 commits
    • sof's avatar
      [project @ 2001-08-14 21:49:00 by sof] · b9f325de
      sof authored
      DocBook catalog: Only prefix hardtop if we end up using a glafp-utils/docbook CATALOG
    • sof's avatar
      [project @ 2001-08-14 17:14:22 by sof] · 71dea322
      sof authored
      Don't use 'foreign label' to get at prog_arg{v,c}, use
      the RtsAPI-provided getProgArgv().
    • simonmar's avatar
      [project @ 2001-08-14 16:29:56 by simonmar] · eca4400f
      simonmar authored
      Add TyCon.mkLiftedPrimTyCon, solely for RealWorld which is the only
      lifted primitive TyCon.
    • simonpj's avatar
      [project @ 2001-08-14 16:28:00 by simonpj] · ba7c8891
      simonpj authored
      More wibbles in checking type validity
    • simonpj's avatar
      [project @ 2001-08-14 15:37:55 by simonpj] · 2b09da89
      simonpj authored
      Wibbles to the checking-types commit
    • simonpj's avatar
      [project @ 2001-08-14 15:27:32 by simonpj] · 8731605f
      simonpj authored
      Yet another bug in lub
    • sewardj's avatar
      [project @ 2001-08-14 13:40:07 by sewardj] · bc5c8021
      sewardj authored
      Change the story about POSIX headers in C compilation.
      Until now, all C code in the RTS and library cbits has by default been
      compiled with settings for POSIXness enabled, that is:
         #define _POSIX_SOURCE   1
         #define _POSIX_C_SOURCE 199309L
         #define _ISOC9X_SOURCE
      If you wanted to negate this, you'd have to define NON_POSIX_SOURCE
      before including headers.
      This scheme has some bad effects:
      * It means that ccall-unfoldings exported via interfaces from a
        module compiled with -DNON_POSIX_SOURCE may not compile when
        imported into a module which does not -DNON_POSIX_SOURCE.
      * It overlaps with the feature tests we do with autoconf.
      * It seems to have caused borkage in the Solaris builds for some
        considerable period of time.
      The New Way is:
      * The default changes to not-being-in-Posix mode.
      * If you want to force a C file into Posix mode, #include as
        the **first** include the new file ghc/includes/PosixSource.h.
        Most of the RTS C sources have this include now.
      * NON_POSIX_SOURCE is almost totally expunged.  Unfortunately
        we have to retain some vestiges of it in ghc/compiler so that
        modules compiled via C on Solaris using older compilers don't
    • simonmar's avatar
      [project @ 2001-08-14 11:41:19 by simonmar] · b19d9770
      simonmar authored
      Fix example code in the generics section.
    • simonpj's avatar
      [project @ 2001-08-14 06:35:56 by simonpj] · 2767767f
      simonpj authored
      1. Arrange that w/w records unfoldings
         And that the simplifier preserves them
      2. Greatly improve structure of checking user types in the typechecker
         Main changes:
      	TcMType.checkValidType checks for a valid type
      	TcMonoType.tcHsSigType uses checkValidType
      	Type and class decls use TcMonoType.tcHsType (which does not
      		check for validity) inside the knot in TcTyClsDecls,
      		and then runs TcTyDecls.checkValidTyCon
      		or TcClassDcl.checkValidClass to check for validity
      		once the knot is tied
  3. 13 Aug, 2001 2 commits