<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>nhc98 release history</title></head>
<body bgcolor='#ffffff'>
<table><tr><td width=530>
<center><h1>nhc98 release history</h1></center>
<hr>
<h3>nhc98 1.21 (darcs) features</h3>
<ul>
</ul>
<hr>
<h3>nhc98 1.20 (2007-11-22) features</h3>
<ul>
<li> New: Pattern guards are supported.
<li> New: More hierarchical libraries have been added to the base package.
<li> Bugfix: Now builds on 64-bit machines (in 32-bit mode)
<li> Bugfix: Newer version of hmake (3.13)
<li> Bugfix: The evil mangler is now less evil (and more robust)
<li> Bugfix: Add a workaround for the hi-membug that caused build failures
on many recent Linux platforms.
<li> Bugfix: Lexical error on varid _2a is fixed.
<li> Bugfix: Renaming bug in newtype A a = A a.
<li> Bugfix: hp2graph problem with x-axis resolution in interval (-i) sampling.
<li> Bugfix: hp2graph end-of-file parsing bug.
<li> New: The runtime system code is now documented using funnelweb.
</ul>
<hr>
<h3>nhc98 1.18 (2005-03-11) features</h3>
<ul>
<li> New: nhc98 now ships with a testsuite.
<li> New: Several more packages of hierarchical libraries are included in
the build: base, parsec, haskell-src, QuickCheck, HaXml,
HUnit, Cabal.
<li> New: FFI improvements: foreign import "dynamic" is now supported,
and named C header-files are now used.
<li> New: cpphs is included as a replacement for the C preprocessor.
<li> New: The compiler now uses cpphs for Haskell source instead of cpp.
This removes problems with string gaps, primes in identifiers,
and so on.
<li> New: In hmake-interactive, if the readline library is not available,
the simple line editor now has a history mechanism.
<li> Bugfix: hmake's processing of cpp conditional directives is improved
also.
<li> Bugfix: Evil bugfixes for ghc versions ≥ 6.0
<li> Bugfix: More evil bugfixes for gcc versions ≥ 3.3
<li> Bugfix: A numeric pattern can now match against a Num newtype.
<li> Bugfix: Foreign imports and abstract newtypes now play OK together.
<li> Bugfix: Methods in qualified classes no longer need to be qualified
in instance decls.
<li> Bugfix: GreenCard now accepts <<.../...>> syntax.
<li> Bugfix: Numerous internal tidy-ups, including fixes such that nhc98
can once again be built by hbc.
</ul>
<hr>
<h3>nhc98 1.16 (2003-03-08) features</h3>
<ul>
<li> New: A large subset of the <em>base</em> package of
hierarchical libraries is now included in the build.
<li> New: The primitive FFI mechanism has been updated to match
the latest official spec, and the full Foreign
libraries are also included.
<li> Performance: The library function List.sortBy now uses a stable
O(n log n) mergesort.
<li> Bugfix: nhc98 now works correctly in the presence of gcc-3.x.
<li> Bugfix: nhc98 once again builds on Cygwin with ghc.
<li> Bugfix: Numerous other small fixes, including revisions to the
Haskell'98 standard.
</ul>
<hr>
<h3>nhc98 1.14a (2002-08-13) features</h3>
<ul>
<li> The only change between 1.14 and 1.14a is that the version of
hmake included in the source package has been updated from 3.05
to 3.06.
</ul>
<hr>
<h3>nhc98 1.14 (2002-06-14) features</h3>
<ul>
<li> Major change: The Hat tracing system is now entirely separate from
the nhc98 compiler. Hat can now be used with either ghc
or nhc98 - you should download and build the Hat system
<em>after</em> building nhc98.
<li> New: The compiler now supports a simplified version of ghc's
package mechanism. No documentation yet, but Hat relies
on it.
<li> Performance: Various patches for improved time/space usage of the
compiler itself, contributed by Thomas Nordin.
<li> Bugfix: Various small fixes for OS environments like OpenBSD,
ix86-Solaris, etc.
</ul>
<hr>
<h3>nhc98 1.12 (2002-03-14) features</h3>
<ul>
<li> New: The old hat-trail tool written in Java is now obsolete,
replaced by a brand new version written in Haskell.
<li> New: There are numerous improvements to the Hat tools, and
their command syntax is now simplified and much more
uniform.
<li> New: All possible tunnels between hat-trail, hat-observe, and
hat-detect are now available.
<li> New: The first version of the portable Hat transformation is
now available. In other words, Hat can now compile simple
programs with ghc instead of nhc98.
<li> Bugfix: The Time library now has implementations of addToClockTime
and diffClockTimes, and tdPicoSec is renamed to tdPicosec.
<li> Bugfix: The Numeric library now has implementations of floatToDigits,
formatRealFloat, fromRat, and show[EFG]Float.
<li> Bugfix: Numerous small problems with building on MacOS X have
been ironed out.
<li> Bugfix: The IO library did not re-export the PreludeIO definitions.
<li> Bugfix: An infix pattern decl of the form
a `Foo` (b `Bar` c) = 3 `Foo` (4 `Bar` 5)
could not be compiled because the parser lost the explicit
bracketing on the LHS.
<li> Bugfix: Allow an empty import/export decl with a single stray comma.
<li> Bugfix: Fix block-buffered file handles, so that they produce output
exactly when the buffer is full.
<li> Bugfix: Do not treat `qualified', `hiding', or `interface' as keywords
of the language - they are significant only in certain
positions.
<li> Bugfix: Increase garbage collection counters to 64-bits for correct
reports in long-running computations.
<li> Bugfix: Accept `instance ClassName (Prelude.->)' in source and
interface files.
<li> Bugfix: Work around a rare buffer problem in hp2graph.
<li> Bugfix: Where an entire module is re-exported, but one of its
variables is hidden on import, the hidden variable should
not be re-exported.
<li> Bugfix: Fix link message "undefined reference to
`FN_Ix_46_95_46Unknown_46variable'" when using library Array.
<li> Bugfix: Update configuration script (again) to detect ghc-5.02
correctly.
</ul>
<hr>
<h3>nhc98 1.10 (2001-10-19) features</h3>
<ul>
<li> Bugfix: The qualified import/export namespace is now managed much
better by the compiler, in accordance with latest revision
of the Haskell'98 Report.
<li> Bugfix: In the Hat tools, there is a more accurate distinction between
top-level identifiers and local identifiers.
<li> Bugfix: Numerous small bugfixes in hat-observe and hat-detect,
including better pretty-printing of infix expressions and
strings.
</ul>
<hr>
<h3>nhc98 1.08 (2001-09-25) features</h3>
<ul>
<li> New: Tunnels from hat-observe to hat-detect and hat-trail,
enabling the user to jump directly to something of interest.
<li> New: Prototype version of the portable source-to-source
transformation is in progress.
<li> New: More updates of the the Prelude/Libraries to match the
recent revisions of the Haskell'98 Report.
<li> Bugfix: Numerous small bugfixes in hat-observe, hat-detect, and
hat-trail.
<li> Bugfix: You can now have multiple copies of hat-trail running
simultaneously.
<li> Bugfix: A module with an explicit null export list previously
exported everything - now it correctly exports nothing.
<li> Bugfix: In multiple equations with identical (n+k) patterns, only
the first equation was ever matched, the rest were
previously ignored.
<li> Bugfix: A negative literal integer in a pattern caused a compiler
error if the (-) function was not also used in an expression.
<li> Bugfix: An imported named field, used both as a pattern and a
selector in the same equation, gave rise to an
"Unbound Identifier" error.
<li> Bugfix: Fixes random crashes in primitive implementation of putStr.
<li> Bugfix: Link options for ncurses (in src/tracer/hat) were in the
wrong order.
</ul>
<hr>
<h3>nhc98 1.06 (2001-06-08) features</h3>
<ul>
<li> New: Updated the Prelude/Libraries to match the newly revised
Haskell'98 Report.
<li> Update: Default build target is now basic + tracer (was just basic).
<li> Update: Building with gcc now builds everything with gcc, including
profiling and tracing. This is much faster.
<li> Bugfix: A bad interaction between Java and Cygwin to do with Unix
vs. Windows pathnames. (Visible only in Hat-trail and Hood.)
<li> Bugfix: An 'hi' built with just a C compiler seg-faulted, due to
mismatched .c file versions in the 1.04 source package.
<li> Bugfix: Recognise an existing ghc-5 installation.
<li> Bugfix: Missing include <errno.h> for Cygwin.
<li> Bugfix: Minor filename recognition error in hat-stack and hat-connect.
<li> Bugfix: Filename extension for time profiling changed to .z.o to
avoid Windows conflicts between .T.o and .t.o. The compiler
flags -T and -t are unchanged, -z is a new synonym for -t.
</ul>
<hr>
<h3>nhc98 1.04 (2001-05-21) features</h3>
<ul>
<li> New: Support for extended module namespaces of the form
Long.Hierarchical.Module.Name is now provided in both
nhc98 and hmake.
<li> Update: Improved printing of I/O error messages.
<li> Update: Improved (more accurate) time profiling now provided.
<li> 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.
<li> Bugfix: hmake issued an unnecessary -cpp flag on some literate files.
<li> Bugfix: Type of IO.hSetPosn :: Handle -> HandlePosn -> IO ()
was incorrect
<li> Bugfix: Compile-time error in <tt>src/tracer/runtime/ident.c</tt>
on RedHat 7 and other systems using the new ISO C standard
for <tt>fpos_t</tt>.
<li> 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.
<li> Bugfix: Operator sections suffered from priority inversion,
for example (^2*3) was incorrectly parsed as (^(2*3)),
even though ^ binds more tightly than *.
<li> Bugfix: The library function Directory.createDirectory gave
strange permissions to the new directory. (Mode was
in hex, but should have been octal!)
</ul>
The following updates and bugfixes are specifically for <em>Hat</em>,
the redex-trail-based tracing and debugging system.
<ul>
<li> 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.
<li> New tools: Storing trails in files means we can now provide more
tools to examine them. The original graphical browser is
now renamed <b>hat-trail</b>, and can fully explore the
redex trails in file.
<b>hat-stack</b> gives a virtual stack back-trace
from a trail file (no need to re-run the program).
<b>hat-observe</b> gives you HOOD-like
observation of the input and output from functions.
<b>hat-detect</b> does algorithmic debugging in the style
of Freja; it discovers and identifies the location of
a bug after asking you some simple questions.
<b>hat-check</b> verifies the integrity of the trail
file, prints a textual dump, and gives statistics about
its contents.
<li> Update: Fuller Standard Library support for tracing: added
Directory, System, CPUTime, Random.
(Still missing: Time, Locale.)
<li> 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.
</ul>
<hr>
<h3>nhc98 release 1.02 (2001-02-14) features</h3>
<ul>
<li> Improvement: Fixed a space-leak in the compiler. Compilation now
requires approximately half the previous maximum heap,
and as a result, compile time is 5-10% faster.
<li> Update: 'hi' now uses GNU's readline library if available.
<li> Update: Improved error reporting in hmake.
<li> Update: Improved the raw speed of both output and input for compiled
programs, by between 3x and 10x, depending on usage.
<li> Bugfix: Auto-configuration of hmake. It occasionally failed to find
an already-installed version of nhc98. Also, on Solaris
(and other System V based OSes), auto-detection of
hbc and/or ghc sometimes failed due to incompatibility
of the 'which' command. Finally, the 'hmake' script
itself failed on Cygwin due to the 'which' command
being missing altogether.
<li> Bugfix: 'atan2' in class RealFloat - revert to a default
declaration that does not use 'isNegativeZero', because
we don't implement the latter.
<li> Bugfix: Foreign functions declared of IO return type (especially
zero-arity CAFs) using the primitive FFI could suffer from
unexpected sharing of results.
<li> Bugfix: Failure to build BinArray library on FreeBSD (htonl/ntohl errors).
<li> Bugfix: Incorrect definitions of inRange and rangeSize in Ix library.
<li> Bugfix: Local infix declarations in `where' blocks were ignored.
<li> Bugfix: Some non-trivial `newtype' decls produced spurious errors.
<li> Bugfix: Printing of characters in the range 0x0100 to 0xffff now works.
<li> Bugfix: @-pattern-bindings are now fixed. As a result, Happy-generated
parsers should now compile correctly.
<li> Bugfix: We now accept {-# pragmas #-} in any position, and understand
LINE pragmas.
</ul>
The following updates and bugfixes are specifically for <em>Hat</em>,
the redex-trail-based tracing and debugging system.
<ul>
<li> New Feature: When a traced program is interrupted or terminates with
an error, you get a virtual stack trace of the
computation "for free", without having to start up
a browser.
<li> Update: Foreign imports (via the new common primitive FFI) with an
I/O result type are now also traced (previously only pure
foreign functions were traced).
<li> Update: Interface and object files for tracing now have distinct
file suffixes: .T.hi and .T.o. This improves matters
enormously when switching between normal and tracing versions
of a program. It also fixes some dependency bugs when
building the tracing version of the compiler. Both the
compiler and hmake have knowledge of the new suffixes.
<li> Bugfix: The 'rtb' script failed because of missing shell quotes.
<li> Added standard libraries: IO, Array.
(Still missing: Directory, System, Time, Locale, CPUTime, Random.)
<li> Added extension libraries: FFI, IOExtras.
</ul>
<hr>
<h3>full nhc98 release 1.00 (2000-09-15) features</h3>
<ul>
<li> Update: Many changes to the nhc98 tracer (listed separately below)
and a new name for the tracing system: <em>Hat</em>.
<li> Update: Many changes to <em>hi</em> (hmake interactive), both to
improve the automatic configuration and to add features.
<li> Addition: Andy Gill's HOOD debugging library.
<li> Addition: New commandline flag -showtype, used by <em>hi</em> to
display types of expressions.
<li> Addition: New options for hmake: -clean and -realclean.
<li> Documentation: We have added many more comments and type signatures
to the compiler, so implementers should find it easier
to read.
<li> Bugfix: Added correct derivation for Read and Show classes on named
fields.
<li> Bugfix: Configuration bugs for Cygwin and Solaris.
<li> Bugfix: Configuration for 'echo -n' on certain OSes.
<li> Bugfix: Parser now accepts {-# pragmas #-}.
<li> Bugfix: Directory.closedir: ensure directory is finalised only once.
<li> Bugfix: New functions FFI.withForeignObj and FFI.touchForeignObj.
<li> Bugfix: List.isPrefixOf: second clause was missing.
<li> Bugfix: System.getEnv: throws error when symbol is undefined.
<li> Bugfix: Prelude.lex "1..n" now returns [("1", "..n")].
<li> Bugfix: Added Read and Show instances for 5-tuples.
<li> Bugfix: Doubles were occasionally truncated to Float, Floats were
occasionally promoted to Double.
<li> Portability: You can now run nhc98comp with Hugs! (although this is
unlikely to be directly useful to anyone.)
</ul>
The following updates and bugfixes are specifically for <em>Hat</em>,
the redex-trail-based tracing and debugging system.
<ul>
<li> Literal numeric expressions and patterns now work again (previously
broken in the move to Haskell'98).
<li> Added arithmetic primitives for Integer, Float, and Double types.
<li> Added rules for the primitive FFI (foreign import only).
<li> Added standard libraries: Ratio, Complex, Numeric, Ix, List,
Maybe, Char, Monad. (Still missing: Array, Directory, System,
Time, Locale, CPUTime, Random.)
<li> Fixed the compilation of newtypes.
<li> Fixed derived instances of classes.
<li> Fixed compiler conflict between Java 1.1 and 1.2.
</ul>
<hr>
<h3>nhc98 pre-release 19 (2000-06-05) features</h3>
<ul>
<li> Big Change: Until recently, the normal/profiling and tracing
versions of the Prelude and Libraries have been
kept in separate source trees. The normal set is
Haskell'98 compliant, the tracing set was 1.3 and
incomplete. We have now merged the two sets so that
all the libraries which actually build for tracing
are genuinely Haskell'98. There are still several
libraries that don't compile for tracing yet, but this
is nevertheless a big step forward to improving the
tracing experience.
<li> Addition: Implementations of the standard Time and CPUTime
libraries. All standard libraries are now implemented
in normal and profiling versions.
<li> Addition: "hmake interactive" - a brand new Hugs-like
interpreter for interactive development.
<li> Change: The trace browser command has now been renamed
<tt>rtb</tt> for "Redex Trail Browser".
<li> Bugfix: IO.hgetLine was broken.
</ul>
<h3>nhc98 pre-release 18 (2000-04-10) features</h3>
<ul>
<li> Bugfix: More patches needed for building with ghc-4.06.
<li> Bugfix: The new implementations of two Directory functions
(doesFileExist and doesDirectoryExist) threw IOErrors
when they shouldn't.
<li> Addition: We've improved the error messages given by the Directory IO
functions to include more information about what caused
the error.
<li> Addition: A new compiler flag <em>-report-imports</em>.
</ul>
<h3>nhc98 pre-release 17 (2000-03-14) features</h3>
<ul>
<li> Bugfix: Now builds with ghc-4.06 as well as ghc-4.04 and earlier.
<li> Bugfix: Occasional runtime crashes when using Arrays are now eliminated.
</ul>
<h3>nhc98 pre-release 16 (2000-03-02) features</h3>
<ul>
<li> Addition: The standard Random library.
<li> Addition: The standard Directory library.
<li> Addition: The common IOExtras library.
<li> Bugfixes: Various small configuration bugfixes.
</ul>
<h3>nhc98 pre-release 15 (2000-01-18) features</h3>
<ul>
<li> Bugfix: There were some minor build-problems with pre14 which I
hope are now fixed.
<li> Bugfix: Duplicate labels error when building the mutator
for profiling.
<li> Bugfix: Erroneous compiler complaints about class contexts when
building certain Prelude functions.
<li> Bugfix: Missing file FFIBuiltin.hi.
</ul>
<h3>nhc98 pre-release 14 (1999-12-02) features</h3>
<ul>
<li> Update: Various tweaks and additions to the new FFI to make it more
solid. Libraries now include Sven Panne's FFI.
<li> Performance: Thanks to Julian Seward's prompting, we have improved
the runtime performance of nhc98-compiled programs by about
25% (if you have gcc). This also means that if you bootstrap
nhc98 from C sources, you will get a faster compiler.
</ul>
<h3>nhc98 pre-release 13 (1999-11-19) features</h3>
<ul>
<li> Addition: Completely new FFI added, following the Hugs/ghc model.
Beware, this is still alpha - It might even break unrelated
things that worked previously! If in doubt, use 1.0pre12.
<li> Bugfixes: Numerous small fixes for building on various machines.
</ul>
<h3>nhc98 pre-release 12 (1999-10-29) features</h3>
<ul>
<li> Bugfix: Removed incorrect .h symbolic links. (This patch hardly
seems worth a whole new pre-release, but the bug prevented
all builds from proceeding.)
<li> Bugfix: On HP-UX machines, the ansiC backend had a problem due to
conflicts between data/code at link time.
</ul>
<h3>nhc98 pre-release 11 (1999-10-26) features</h3>
<ul>
<li> Bugfix: Minor fixes to config and Makefiles for <em>Cygwin</em>.
</ul>
<h3>nhc98 pre-release 10 (1999-10-19) features</h3>
<ul>
<li> Update: Compiling programs for tracing now works again, although
tracing versions of the Prelude and Libraries are still
not fully up-to-date with Haskell'98. The trace browser
now has a scripting facility to record your tracing activity
for later replay.
<li> Update: The removal of named field punning in Haskell'98 has
turned out to be unpopular. nhc98 now supports punning
again as a compile-time option (default on, except in
-98 compatibility mode).
<li> Update: The old 'nhc98config' is now simplified and called 'configure'.
This means that "./configure; make; make install" should now
work as expected.
<li> Update: At configuration time for hmake, we now try to detect existing
installations of ghc/hbc/nhc and provide sensible defaults,
so you should no longer need to edit config files.
<li> Bugfix: Resolved conflicts when using hmake flags -I and -d together.
<li> Bugfix: Some changes to Makefiles, so building on <em>Cygwin32</em>
is easier.
<li> Bugfix: hSetPosn had wrong arity.
</ul>
<h3>nhc98 pre-release 9 (1999-09-16) features</h3>
<ul>
<li> Bugfix: Library module Maybe was missing the definition isNothing.
<li> Bugfix: Several changes to Makefiles, so building with <em>ghc</em>
is easier.
<li> Bugfix: hmake is more <em>ghc</em>-friendly.
<li> Update: The standard cpp symbols __HASKELL98__ and __HASKELL__=98 are
now supported.
</ul>
<h3>nhc98 pre-release 8 (1999-08-06) features</h3>
<ul>
<li> Bugfix: Initialisation of a value using named fields failed to type-check
if some fields were missing.
<li> Bugfix: Several small script changes required when compiling with <em>ghc</em>.
<li> Bugfix: Compiler fault in processing interface-files - prevented
profiling and tracing versions of the prelude/libraries from
building unless the old interface files were removed first.
</ul>
<h3>nhc98 pre-release 7 (1999-07-23) features</h3>
<ul>
<li> Bugfix: Brought layout processing into line with the algorithm
given in the Report.
<li> Update: Underscores are now (optionally) treated in full accordance
with the Report as strictly lower-case.
<li> Update: Licensing conditions for nhc98 are now more explicit.
</ul>
<h3>nhc98 pre-release 6 (1999-06-10) features</h3>
<ul>
<li> Update: At last, we grudgingly support <tt>(n+k)</tt> patterns.
</ul>
<h3>nhc98 pre-release 5 (990519) features</h3>
<ul>
<li> Change: Simpler configuration for hmake and nhc98.
<li> Update: Infix decls now allowed anywhere type signatures are. Modules
can be imported unqualified with a local alias. Aliases can
overlap. Empty decls (i.e. extra explicit semicolons) are allowed.
<li> Bugfix: isAlphanum is now isAlphaNum.
<li> Bugfix: Derived Read instances for non-associative infix constructors
now work (previously looped).
</ul>
<h3>nhc98 pre-release 4 (990503) features</h3>
<ul>
<li> Fixes: compiler's source code needs to compile under Haskell 98 also!
</ul>
<h3>nhc98 pre-release 3 (990427) features</h3>
<ul>
<li> Fixes: compiler has better compliance with Haskell 98. (Maximal
munch for comments, removed record punning, and numerous other changes.)
</ul>
<h3>nhc98 pre-release 2 (990217) features</h3>
<ul>
<li> Bugfix: Stable Pointers, as used in GreenCard, are now non-strict,
i.e. passing the value (error "message") to C as a stable
pointer no longer terminates the program immediately.
</ul>
<h3>nhc98 pre-release 1 (990128) features</h3>
<ul>
<li> Major change: nhc13 has become nhc98, supporting the new Haskell 98
language standard, although still incompletely.
<li> Major addition: Existential types in data declarations.
<li> Addition: New options <tt>-M</tt> and <tt>-Md</tt> to <em>hmake</em>.
<li> Bugfix: In the Binary library there was a very slight incompatibility
between the types described in the ISMM'98 paper and the
implementation. The implementation is now fixed to match the
paper.
<li> Bugfix: At last, the distribution tarfiles extract into an
nhc98-x.x directory, rather than the current directory.
</ul>
<h3><a href=history.html>Release history of nhc13</a></h3>
<hr>
<p>
The latest updates to these pages are available on the WWW from
<a href="http://www.haskell.org/nhc98/">
<tt>http://www.haskell.org/nhc98/</tt></a>
<p>
This page last modified: 23rd November 2007<br>
<a href="http://www.cs.york.ac.uk/fp/">
York Functional Programming Group</a><br>
</td></tr></table>
</body></html>
|