Commit graph

9 commits

Author SHA1 Message Date
kristerw
93f1a45e28 Fix build problem on NetBSD -current. 2004-01-16 20:03:59 +00:00
kristerw
5b0298a4bd Add patches from the nhc98 web page:
* A degenerate type synonym like type T a = a in some circumstances
  incorrectly caused an occurence check error.
* Several new features in gcc-3.3 cause breakage in the nhc98 build.
  This patch fixes many [but ot all] of those problems.

PKGREVISION++.
2004-01-16 00:59:18 +00:00
kristerw
8e3896d83a Fix multi-line strings and an incorrect function call identified by gcc3. 2004-01-03 09:50:39 +00:00
kristerw
71b9459671 Update nhc98 to 1.16.
Changes since 1.14a include:
* A large subset of the base package of hierarchical libraries is now
  included in the build.
* The primitive FFI mechanism has been updated to match the latest official
  spec, and the full Foreign libraries are also included (in hierarchical
  form).
* The library function List.sortBy now uses a stable O(n log n) mergesort.
* Numerous other small fixes, including revisions to the Haskell'98 standard.
2003-03-19 23:14:35 +00:00
jlam
9f7d95cdcd buildlink1 -> buildlink2, and use java.mk for proper Java handling. 2002-11-14 22:38:30 +00:00
kristerw
85ef20ea78 Update lang/nhc98 to version 1.14a.
Changes since version 1.06 include:
* Lots of bugfixes.
* The Hat tracing system is now entirely separate from the nhc98 compiler
  (and is thus not included in the package)
2002-08-25 16:12:01 +00:00
wiz
5ba959ffa6 Buildlinkify. 2001-12-26 01:04:54 +00:00
jtb
d22138014b Update to version 1.06.
Changes include:

* Updated  the  Prelude/Libraries  to  match the newly revised
  Haskell'98 Report.
* Default  build  target  is  now  basic + tracer (was just basic).
* Building  with  gcc  now  builds  everything  with  gcc, including
  profiling and tracing. This is much faster.
* Bugfixes.
2001-07-15 12:40:20 +00:00
jtb
27f4a9031e Update to nhc98-1.04.
nhc98 1.04 (2001-05-21) features

     * New:   Support   for   extended  module  namespaces  of  the  form
       Long.Hierarchical.Module.Name  is  now  provided in both nhc98 and
       hmake.
     * Update: Improved printing of I/O error messages.
     * Update: Improved (more accurate) time profiling now provided.
     * Bugfix:  An  identifier  hidden  on  import  and  redefined in the
       current  module,  then  exported,  but also imported qualified and
       used  qualified  in  the  current  module,  led  to  an  incorrect
       interface file being generated.
     * Bugfix:  hmake  issued  an  unnecessary -cpp flag on some literate
       files.
     * Bugfix:  Type  of IO.hSetPosn :: Handle -> HandlePosn -> IO () was
       incorrect
     * Bugfix: Compile-time error in src/tracer/runtime/ident.c on RedHat
       7 and other systems using the new ISO C standard for fpos_t.
     * Bugfix: A file opened in ReadMode or WriteMode was actually opened
       in  ReadWriteMode,  so  if  the  file  had  strict permissions the
       correct   opening  command  would  fail.  Conversely,  opening  in
       ReadWriteMode  actually  gave  ReadMode  instead, and file updates
       silently failed.
     * Bugfix:  Operator  sections  suffered from priority inversion, for
       example  (^2*3)  was incorrectly parsed as (^(2*3)), even though ^
       binds more tightly than *.
     * Bugfix:   The   library  function  Directory.createDirectory  gave
       strange  permissions  to  the new directory. (Mode was in hex, but
       should have been octal!)

   The  following  updates  and  bugfixes  are  specifically for Hat, the
   redex-trail-based tracing and debugging system.
     * New architecture: Traced programs now build their trails in files,
       not  in  the  heap.  This has four consequences: (1) you no longer
       need  to  give your program large amounts of extra memory to trace
       it; but (2) you may need to have large amounts of free disk space,
       particularly  to  trace long-running programs; (3) for the moment,
       traced  programs  now  run  even slower (we are working to improve
       this);  and  (4)  trails are now first-class objects, so new tools
       can  manipulate  them  to  provide  several different views of the
       computation.
     * New  tools:  Storing trails in files means we can now provide more
       tools  to  examine  them.  The  original  graphical browser is now
       renamed hat-trail, and can fully explore the redex trails in file.
       hat-stack  gives  a virtual stack back-trace from a trail file (no
       need  to  re-run  the  program).  hat-observe  gives you HOOD-like
       observation  of  the  input  and output from functions. hat-detect
       does algorithmic debugging in the style of Freja; it discovers and
       identifies  the  location  of  a  bug after asking you some simple
       questions.  hat-check  verifies  the  integrity of the trail file,
       prints a textual dump, and gives statistics about its contents.
     * Update:   Fuller  Standard  Library  support  for  tracing:  added
       Directory, System, CPUTime, Random. (Still missing: Time, Locale.)
     * Update:  More  Haskell'98  language  features  are accepted: named
       fields  can  now  be traced, although the hat tools don't yet show
       them in source form. Pattern bindings are also handled better.
     _________________________________________________________________
2001-05-22 00:45:54 +00:00