pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/hugs Update to 200605:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc0ab8a2f867
branches:  trunk
changeset: 516941:bc0ab8a2f867
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Aug 01 14:33:59 2006 +0000

description:
Update to 200605:

- November 2002

Feature highlights of this new release are:

* Much improved FFI support (contributed by Alastair Reid), bringing Hugs
  really very close to the Haskell FFI specification.
* Adoption of a significant subset of GHC's hierarchical libraries
  (contributed by Ross Paterson).
* An (allegedly) complete implementation of the Haskell98 module system
  (Sigbjorn Finne).
* Numerous bug fixes since the previous major release in Dec 2001.

- November 2003

There has been substantial internal restructuring. In addition to numerous
bug fixes, user-visible changes include:

* The beginnings of a User's Guide (though still incomplete).
* The Double type is now double-precision on most architectures.
* Hugs now relies on the same hierarchical libraries as GHC and Nhc98, and
  provides almost all of them. For now, compatibility with the old libraries
  is provided by stub modules, but users are encouraged to migrate to the
  new libraries.
* Full support for imprecise exceptions (but not asynchronous ones). Most
  runtime errors are now reported by applying print to an Exception
  (formerly the built-in printer was applied to the faulty redex).
* Integrated .NET support (on Windows platforms).
* The -e, -f, -i, -N, -W and -X options and the :project command have been
  removed.
* A searchpath may include an entry of the form "directory/*", meaning all
  the immediate subdirectories of directory (see -Pstr).

- March 2005

This release is primarily targeted at Unix systems to gain experience with
new features. The new Cabal-based library build system has the potential to
make building on Windows easier, but it's not there yet. Volunteers welcome.

In addition to numerous bug fixes, user-visible changes include:

* The default current module is now the empty module Hugs.Base instead of
  the Prelude (see Section 2.2).
* The Char type and the Char module now support Unicode as specified in the
  Haskell 98 Report (contributed by Dmitry Golubovsky). Character oriented
  I/O uses a byte encoding of characters determined by the current locale
  (see Section 3.3).
* The new -X option can be used to group several options into one argument.
  This is now needed for executable runhugs scripts (using the Unix "#!"
  feature) that require two or more options (see Section 4.1).
* The syntax of the ffihugs command has changed (see Section 4.2). The +G
  and +L options are gone, and a new -i option can be used to specify
  include files.
* Hugs now has basic support for the Cabal packaging system (see Section 3.4).

- May 2006

* The default current module is now the empty module Hugs (see Section 2.2).
* The compatibility libraries are no longer included on the default search
  path. You can access them by adding "{Hugs}/oldlib" to the search path
  (see -Pstr), but they will be removed in the next release.
* Rewritten graphical Windows interface (contributed by Neil Mitchell; see
  Section 4.3).
* New :main command (contributed by Neil Mitchell).

diffstat:

 lang/hugs/DESCR            |   39 +-
 lang/hugs/Makefile         |   37 +-
 lang/hugs/PLIST            |  693 ++++++++++++++++++++++++++++++++------------
 lang/hugs/distinfo         |   15 +-
 lang/hugs/files/configure  |    7 -
 lang/hugs/patches/patch-aa |   44 +-
 lang/hugs/patches/patch-ab |   42 +-
 lang/hugs/patches/patch-ac |   31 +-
 lang/hugs/patches/patch-ad |   13 -
 9 files changed, 602 insertions(+), 319 deletions(-)

diffs (truncated from 980 to 300 lines):

diff -r ceb7107082b7 -r bc0ab8a2f867 lang/hugs/DESCR
--- a/lang/hugs/DESCR   Tue Aug 01 13:19:54 2006 +0000
+++ b/lang/hugs/DESCR   Tue Aug 01 14:33:59 2006 +0000
@@ -1,19 +1,22 @@
-The Nottingham and Yale Haskell interpreter and programming environment.
-
-   Nottingham and Yale are pleased to announce a new release of Hugs,
-   a Haskell interpreter and programming environment for developing
-   cool Haskell programs.  Sources and binaries are freely available
-   by anonymous FTP and on the World-Wide Web.
+Hugs 98 is a functional programming system based on Haskell 98, the de
+facto standard for non-strict functional programming languages.  Hugs 98
+provides an almost complete implementation of Haskell 98, including:
 
-   This release is largely conformant with Haskell 1.4, including
-   monad and record syntax, newtypes, strictness annotations, and
-   modules.  In addition, it comes packaged with the libraries defined
-   in the most recent version of the Haskell Library Report and with
-   extension libraries which are compatible with GHC 3.0.
-
-   Hugs is best used as a Haskell program development system: it boasts
-   extremely fast compilation, supports incremental compilation, and
-   has the convenience of an interactive interpreter (within which one
-   can move from module to module to test different portions of a
-   program).  However, being an interpreter, it does not nearly match
-   the run-time performance of, for example, GHC or HBC.
+* Lazy evaluation, higher order functions, and pattern matching.
+* A wide range of built-in types, from characters to bignums, and lists
+  to functions, with comprehensive facilities for defining new datatypes
+  and type synonyms.
+* An advanced polymorphic type system with type and constructor class
+  overloading.
+* All of the features of the Haskell 98 expression and pattern syntax
+  including lambda, case, conditional and let expressions, list
+  comprehensions, do-notation, operator sections, and wildcard,
+  irrefutable and `as' patterns.
+* An implementation of the Haskell 98 primitives for monadic I/O, with
+  support for simple interactive programs, access to text files,
+  handle-based I/O, and exception handling.
+* An almost complete implementation of the Haskell module system.
+  Hugs 98 also supports a number of advanced and experimental extensions
+  including multi-parameter classes, extensible records, rank-2
+  polymorphism, existentials, scoped type variables, and restricted
+  type synonyms.
diff -r ceb7107082b7 -r bc0ab8a2f867 lang/hugs/Makefile
--- a/lang/hugs/Makefile        Tue Aug 01 13:19:54 2006 +0000
+++ b/lang/hugs/Makefile        Tue Aug 01 14:33:59 2006 +0000
@@ -1,33 +1,24 @@
-# $NetBSD: Makefile,v 1.32 2005/11/03 22:35:53 rillig Exp $
+# $NetBSD: Makefile,v 1.33 2006/08/01 14:33:59 jmmv Exp $
 
-DISTNAME=      hugs98-Dec2001
-PKGNAME=       hugs98-200112
-PKGREVISION=   2
+DISTNAME=      hugs98-May2006
+PKGNAME=       hugs98-200605
 CATEGORIES=    lang
-MASTER_SITES=  http://cvs.haskell.org/Hugs/downloads/
+MASTER_SITES=  http://cvs.haskell.org/Hugs/downloads/2006-05/
 
 MAINTAINER=    nathanw%mit.edu@localhost
 HOMEPAGE=      http://www.haskell.org/hugs/
-COMMENT=       Nottingham and Yale Haskell interpreter and programming environment
+COMMENT=       Functional programming system based on Haskell 98
 
 GNU_CONFIGURE=         yes
-CONFIGURE_DIRS=                src/unix
-CONFIGURE_ARGS+=       --with-readline
-BUILD_DIRS=            src
-BUILD_TARGET=          default
+USE_TOOLS+=            gmake
 
-.include "../../mk/bsd.prefs.mk"
+CONFIGURE_ARGS+=       --build=${MACHINE_GNU_PLATFORM:Q}
+CONFIGURE_ARGS+=       --target=${MACHINE_GNU_PLATFORM:Q}
 
-.if ${OPSYS} == "Darwin"
-# Trick it into not checking if symbols have leading underscores,
-# since the dlcompat layer expects you to not be that clever.
-CONFIGURE_ENV+=                ac_cv_header_nlist_h=no
-.endif
+.include "../../mk/bsd.pkg.mk"
 
-INSTALLATION_DIRS=     man/man1
-
-post-install:
-       ${INSTALL_MAN} ${WRKSRC}/docs/hugs.1 ${PREFIX}/man/man1/hugs.1
-
-.include "../../devel/readline/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
+# The default -O2 breaks the interpreter producing strange internal errors
+# at run time.
+.if !empty(CC_VERSION:Mgcc-4*)
+CFLAGS+=    -O0
+.endif
diff -r ceb7107082b7 -r bc0ab8a2f867 lang/hugs/PLIST
--- a/lang/hugs/PLIST   Tue Aug 01 13:19:54 2006 +0000
+++ b/lang/hugs/PLIST   Tue Aug 01 14:33:59 2006 +0000
@@ -1,195 +1,504 @@
-@comment $NetBSD: PLIST,v 1.3 2002/04/09 02:59:14 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2006/08/01 14:33:59 jmmv Exp $
+bin/cpphs-hugs
+bin/ffihugs
+bin/hsc2hs-hugs
 bin/hugs
 bin/runhugs
+lib/hugs/Credits
+lib/hugs/License
+lib/hugs/Readme
+lib/hugs/demos/AnsiDemo.hs
+lib/hugs/demos/ArrayEx.hs
+lib/hugs/demos/Cabal/DefaultSetup.lhs
+lib/hugs/demos/Cabal/hapax.hs
+lib/hugs/demos/Calendar.hs
+lib/hugs/demos/CommaInt.lhs
+lib/hugs/demos/Demos.hs
+lib/hugs/demos/Eliza.hs
+lib/hugs/demos/EvalRed.hs
+lib/hugs/demos/Examples.hs
+lib/hugs/demos/Expr.hs
+lib/hugs/demos/FastSort.hs
+lib/hugs/demos/Gofer.hs
+lib/hugs/demos/Lattice.hs
+lib/hugs/demos/Ldfs.hs
+lib/hugs/demos/Literate.lhs
+lib/hugs/demos/Makefile.in
+lib/hugs/demos/Matrix.hs
+lib/hugs/demos/Mersenne.hs
+lib/hugs/demos/Minsrand.hs
+lib/hugs/demos/Queens.hs
+lib/hugs/demos/Say.hs
+lib/hugs/demos/Stack.hs
+lib/hugs/demos/Tree.hs
+lib/hugs/demos/prolog/AndorraEngine.hs
+lib/hugs/demos/prolog/CombParse.hs
+lib/hugs/demos/prolog/Main.hs
+lib/hugs/demos/prolog/Prolog.hs
+lib/hugs/demos/prolog/PureEngine.hs
+lib/hugs/demos/prolog/StackEngine.hs
+lib/hugs/demos/prolog/Subst.hs
+lib/hugs/demos/prolog/readme
+lib/hugs/demos/prolog/stdlib
+lib/hugs/docs/ffi-notes.txt
+lib/hugs/docs/libraries-notes.txt
+lib/hugs/docs/machugs-notes.txt
+lib/hugs/docs/server.html
+lib/hugs/docs/server.tex
+lib/hugs/docs/winhugs-notes.txt
+lib/hugs/include/HsFFI.h
+lib/hugs/oldlib/Addr.hs
+lib/hugs/oldlib/AnsiInteract.hs
+lib/hugs/oldlib/AnsiScreen.hs
+lib/hugs/oldlib/ArrayBase.hs
+lib/hugs/oldlib/Arrow.hs
+lib/hugs/oldlib/Assoc.hs
+lib/hugs/oldlib/AssocDefaults.hs
+lib/hugs/oldlib/AssocList.hs
+lib/hugs/oldlib/BSD.hs
+lib/hugs/oldlib/BankersQueue.hs
+lib/hugs/oldlib/BinaryRandList.hs
+lib/hugs/oldlib/BraunSeq.hs
+lib/hugs/oldlib/CGI.lhs
+lib/hugs/oldlib/COPYRIGHT.edison
+lib/hugs/oldlib/CVHAssert.hs
+lib/hugs/oldlib/CVar.lhs
+lib/hugs/oldlib/Chan.lhs
+lib/hugs/oldlib/Channel.lhs
+lib/hugs/oldlib/ChannelVar.lhs
+lib/hugs/oldlib/Collection.hs
+lib/hugs/oldlib/CollectionDefaults.hs
+lib/hugs/oldlib/CollectionUtils.hs
+lib/hugs/oldlib/ConcBase.hs
+lib/hugs/oldlib/Concurrent.lhs
+lib/hugs/oldlib/DiffArray.hs
+lib/hugs/oldlib/Dynamic.hs
+lib/hugs/oldlib/EdisonPrelude.hs
+lib/hugs/oldlib/Exception.hs
+lib/hugs/oldlib/FiniteMap.lhs
+lib/hugs/oldlib/ForeignObj.hs
+lib/hugs/oldlib/GenericPrint.hs
+lib/hugs/oldlib/GetOpt.lhs
+lib/hugs/oldlib/GraphicsCore.hs
+lib/hugs/oldlib/GraphicsUtils.hs
+lib/hugs/oldlib/HsLexer.hs
+lib/hugs/oldlib/HsParseMonad.hs
+lib/hugs/oldlib/HsParseUtils.hs
+lib/hugs/oldlib/HsParser.hs
+lib/hugs/oldlib/HsPretty.hs
+lib/hugs/oldlib/HsSyn.hs
+lib/hugs/oldlib/Html.lhs
+lib/hugs/oldlib/HtmlBlockTable.lhs
+lib/hugs/oldlib/HugsInternals.hs
+lib/hugs/oldlib/HugsLibs.hs
+lib/hugs/oldlib/IArray.hs
+lib/hugs/oldlib/IOExtensions.hs
+lib/hugs/oldlib/IOExts.hs
+lib/hugs/oldlib/IORef.hs
+lib/hugs/oldlib/Interact.hs
+lib/hugs/oldlib/JoinList.hs
+lib/hugs/oldlib/LazyPairingHeap.hs
+lib/hugs/oldlib/LazyST.hs
+lib/hugs/oldlib/LeftistHeap.hs
+lib/hugs/oldlib/ListSeq.hs
+lib/hugs/oldlib/ListUtils.hs
+lib/hugs/oldlib/MVar.lhs
+lib/hugs/oldlib/Memo.hs
+lib/hugs/oldlib/MinHeap.hs
+lib/hugs/oldlib/MonadCont.lhs
+lib/hugs/oldlib/MonadEither.lhs
+lib/hugs/oldlib/MonadError.lhs
+lib/hugs/oldlib/MonadFix.lhs
+lib/hugs/oldlib/MonadIdentity.lhs
+lib/hugs/oldlib/MonadList.lhs
+lib/hugs/oldlib/MonadRWS.lhs
+lib/hugs/oldlib/MonadReader.lhs
+lib/hugs/oldlib/MonadState.lhs
+lib/hugs/oldlib/MonadTrans.lhs
+lib/hugs/oldlib/MonadWriter.lhs
+lib/hugs/oldlib/Monoid.lhs
+lib/hugs/oldlib/MyersStack.hs
+lib/hugs/oldlib/NativeInfo.hs
+lib/hugs/oldlib/Number.hs
+lib/hugs/oldlib/Observe.hs
+lib/hugs/oldlib/PackedString.lhs
+lib/hugs/oldlib/Parallel.lhs
+lib/hugs/oldlib/ParseLib.hs
+lib/hugs/oldlib/Parsec.hs
+lib/hugs/oldlib/ParsecChar.hs
+lib/hugs/oldlib/ParsecCombinator.hs
+lib/hugs/oldlib/ParsecError.hs
+lib/hugs/oldlib/ParsecExpr.hs
+lib/hugs/oldlib/ParsecLanguage.hs
+lib/hugs/oldlib/ParsecPerm.hs
+lib/hugs/oldlib/ParsecPos.hs
+lib/hugs/oldlib/ParsecPrim.hs
+lib/hugs/oldlib/ParsecToken.hs
+lib/hugs/oldlib/PatriciaLoMap.hs
+lib/hugs/oldlib/PosixDB.lhs
+lib/hugs/oldlib/PosixFiles.lhs
+lib/hugs/oldlib/PosixIO.lhs
+lib/hugs/oldlib/PosixTTY.lhs
+lib/hugs/oldlib/Pretty.lhs
+lib/hugs/oldlib/QSem.lhs
+lib/hugs/oldlib/QSemN.lhs
+lib/hugs/oldlib/QuickCheck.hs
+lib/hugs/oldlib/QuickCheckPoly.hs
+lib/hugs/oldlib/QuickCheckUtils.hs
+lib/hugs/oldlib/Quote.hs
+lib/hugs/oldlib/RandList.hs
+lib/hugs/oldlib/RegexString.lhs
+lib/hugs/oldlib/RevSeq.hs
+lib/hugs/oldlib/SOEGraphics.hs
+lib/hugs/oldlib/ST.hs
+lib/hugs/oldlib/SampleVar.lhs
+lib/hugs/oldlib/Semaphore.lhs
+lib/hugs/oldlib/Sequence.hs
+lib/hugs/oldlib/SequenceDefaults.hs
+lib/hugs/oldlib/Set.lhs
+lib/hugs/oldlib/ShowFunctions.hs
+lib/hugs/oldlib/SimpleQueue.hs
+lib/hugs/oldlib/SizedSeq.hs
+lib/hugs/oldlib/SkewHeap.hs
+lib/hugs/oldlib/Socket.lhs
+lib/hugs/oldlib/SocketPrim.hs
+lib/hugs/oldlib/SplayHeap.hs
+lib/hugs/oldlib/Stable.hs
+lib/hugs/oldlib/StableName.hs
+lib/hugs/oldlib/StdLibs.hs
+lib/hugs/oldlib/StorableArray.hs
+lib/hugs/oldlib/TestOrdBag.hs
+lib/hugs/oldlib/TestOrdSet.hs
+lib/hugs/oldlib/TestSeq.hs
+lib/hugs/oldlib/Trace.hs
+lib/hugs/oldlib/Trex.hs
+lib/hugs/oldlib/URI.hs
+lib/hugs/oldlib/UnbalancedSet.hs
+lib/hugs/oldlib/Unique.lhs
+lib/hugs/oldlib/Weak.hs
+lib/hugs/packages/Cabal/Distribution/Compat/Directory.hs
+lib/hugs/packages/Cabal/Distribution/Compat/Exception.hs
+lib/hugs/packages/Cabal/Distribution/Compat/FilePath.hs
+lib/hugs/packages/Cabal/Distribution/Compat/RawSystem.hs
+lib/hugs/packages/Cabal/Distribution/Compat/ReadP.hs
+lib/hugs/packages/Cabal/Distribution/Compiler.hs
+lib/hugs/packages/Cabal/Distribution/Extension.hs
+lib/hugs/packages/Cabal/Distribution/GetOpt.hs
+lib/hugs/packages/Cabal/Distribution/InstalledPackageInfo.hs
+lib/hugs/packages/Cabal/Distribution/License.hs
+lib/hugs/packages/Cabal/Distribution/Make.hs
+lib/hugs/packages/Cabal/Distribution/Package.hs
+lib/hugs/packages/Cabal/Distribution/PackageDescription.hs
+lib/hugs/packages/Cabal/Distribution/ParseUtils.hs
+lib/hugs/packages/Cabal/Distribution/PreProcess.hs
+lib/hugs/packages/Cabal/Distribution/PreProcess/Unlit.hs
+lib/hugs/packages/Cabal/Distribution/Program.hs
+lib/hugs/packages/Cabal/Distribution/Setup.hs
+lib/hugs/packages/Cabal/Distribution/Simple.hs
+lib/hugs/packages/Cabal/Distribution/Simple/Build.hs
+lib/hugs/packages/Cabal/Distribution/Simple/Configure.hs
+lib/hugs/packages/Cabal/Distribution/Simple/GHC.hs



Home | Main Index | Thread Index | Old Index