1. 23 Apr, 2001 3 commits
  2. 21 Apr, 2001 1 commit
  3. 20 Apr, 2001 7 commits
  4. 19 Apr, 2001 1 commit
  5. 18 Apr, 2001 3 commits
  6. 17 Apr, 2001 7 commits
  7. 16 Apr, 2001 2 commits
    • chak's avatar
      [project @ 2001-04-16 03:01:04 by chak] · 6425d879
      chak authored
      * Adapted to GHC 5.00.  By default an interactive system is built.
      
      * Automagically runs autoconf if `configure' is missing from the source tar
        ball.
      6425d879
    • chak's avatar
      [project @ 2001-04-16 01:30:16 by chak] · 63320e40
      chak authored
      $(bindir) has to be in place before creating symbolic links (otherwise, rpms
      cannot be built with the BUILD_ROOT feature).
      63320e40
  8. 14 Apr, 2001 9 commits
    • qrczak's avatar
      [project @ 2001-04-14 22:32:14 by qrczak] · 1b9312bd
      qrczak authored
      {-# INLINE instance #-} support.
      1b9312bd
    • qrczak's avatar
      [project @ 2001-04-14 22:29:16 by qrczak] · a7cad169
      qrczak authored
      Add stg_ap_1_upd_info to symbols known to the linker.
      a7cad169
    • qrczak's avatar
      [project @ 2001-04-14 22:28:46 by qrczak] · 7eb00ee3
      qrczak authored
      castCCharToChar can be more straightforward and more efficient now.
      7eb00ee3
    • qrczak's avatar
      [project @ 2001-04-14 22:28:22 by qrczak] · 467bd515
      qrczak authored
      Cosmetics.
      467bd515
    • qrczak's avatar
      [project @ 2001-04-14 22:27:34 by qrczak] · 8c99af6a
      qrczak authored
      Don't rely so much on exports from ArrayBase.
      8c99af6a
    • qrczak's avatar
      [project @ 2001-04-14 22:27:00 by qrczak] · 8bd82b88
      qrczak authored
      Implementation of arrays rewritten
      ----------------------------------
      
      Bulk operations like listArray, elems, fmap/amap, (==), getElems,
      getAssocs, freeze etc. no longer check whether indices which are
      not provided by the programmer are in bounds (they always are), and
      avoid unnecessary translation between Ix indices and Int indices.
      Some operations are implemented more efficiently, most notably (==)
      and compare.
      
      This applies to all IArray and MArray instances, including Haskell
      98 Arrays.
      
      Old methods of IArray and MArray are now functions; this is the only
      change in the interface. New methods are exported only by ArrayBase,
      i.e. not officially exported. They work on Int indices and are unsafe:
      they don't do bounds checks themselves. Public functions do checks
      and index translation instead where necessary.
      
      More is inlined, to ensure that anything worth specialization or list
      fusion gets specialized and fused. Perhaps a bit too much is inlined.
      If it was possible to say that a function should be instantiated in
      other modules for each type but not inlined on each use, it would be
      useful here.
      
      Using UArray Int Char wrapped in a nice interface (not included
      here) instead of PackedString should be reasonable. PackedStrings
      are 10% faster than UArray in a sorting test (and don't support
      Unicode). Standard Strings are 50% slower (and take up more memory),
      even though other test versions convert input from standard Strings
      and convert output to them. ByteArrays tuned by hand for the benchmark
      are 15% faster. The same UArray test compiled with released ghc-5.00,
      with compare defined in terms of assocs, is 7 times slower.
      8bd82b88
    • qrczak's avatar
      [project @ 2001-04-14 22:25:24 by qrczak] · 940d9d97
      qrczak authored
      Do more Word arithmetic on constants at compile time.
      940d9d97
    • qrczak's avatar
      [project @ 2001-04-14 22:24:24 by qrczak] · d455d8a0
      qrczak authored
      Add {-# INLINE instance #-} pragma which ensures that the dictionary
      function is inlined.
      d455d8a0
    • lewie's avatar
      [project @ 2001-04-14 07:36:58 by lewie] · 8166bb6c
      lewie authored
      Fix a couple of bugs affecting implicit params.  With implicit params, you
      can have a rho type w/o being a forall type.
      8166bb6c
  9. 13 Apr, 2001 4 commits
    • panne's avatar
      [project @ 2001-04-13 21:37:42 by panne] · 21c60059
      panne authored
      First steps toward a better typing of f.e.d. and friends: Make FunPtr
      a fully-fledged data type, not a renaming for Ptr. This is necessary,
      because the FFI "looks through" newtypes, which we don't want in this
      case.
      21c60059
    • lewie's avatar
      [project @ 2001-04-13 17:49:23 by lewie] · d37c0740
      lewie authored
      Add new test for IP.
      d37c0740
    • panne's avatar
      [project @ 2001-04-13 13:37:24 by panne] · 486c94ae
      panne authored
      To keep people debugging GHC sane, disable CSE in *every* module using
      GLOBAL_VARs. This solves the problem with the strange -M output, where
      some global IORefs were commoned up (again). CSE seems to be really
      broken, but a comment in ghc/Makefile promises a fix.  Anybody out
      there with this fix on his/her hard disk: Please commit soon!
      486c94ae
    • dsyme's avatar
      [project @ 2001-04-13 03:50:52 by dsyme] · 1276e713
      dsyme authored
      More changes to the ILX code generator, currently only relevant to Don
      1276e713
  10. 12 Apr, 2001 3 commits