Ralf Hinze | 1 Feb 2001 11:00
Picon

Documentation

Dear all,

I just successfully installed GHC 4.08.1 and Happy 1.9
from source under SuSE linux. However, it seems that
the doumentation is not generated. Do I have to take
special actions (NB configure seems to be satisfied with
the DocBook installation)?

Thanks, Ralf

Simon Marlow | 1 Feb 2001 13:06
Picon
Favicon

RE: Documentation

> > Yup, you have to explicitly ask for the documentation.  Go to
> > ghc/docs/set, and type 'make set'.  The full documentation (combined
> > Users' Guide and Library reference) will end up in set/ 
> after a while.
> 
> That does not work. make answers
> 	make: *** No rule to make target `set'.
> Any ideas? Do I have to take special actions when
> configuring?

oops, sorry I meant 'make html'.  You can also do 'make dvi', 'make ps',
'make pdf' etc.

Cheers,
	Simon

Simon Marlow | 1 Feb 2001 12:14
Picon
Favicon

RE: Documentation

> Dear all,
> 
> I just successfully installed GHC 4.08.1 and Happy 1.9
> from source under SuSE linux. However, it seems that
> the doumentation is not generated. Do I have to take
> special actions (NB configure seems to be satisfied with
> the DocBook installation)?
> 

Yup, you have to explicitly ask for the documentation.  Go to
ghc/docs/set, and type 'make set'.  The full documentation (combined
Users' Guide and Library reference) will end up in set/ after a while.

Cheers,
	Simon

Ralf Hinze | 1 Feb 2001 13:02
Picon

RE: Documentation

> Yup, you have to explicitly ask for the documentation.  Go to
> ghc/docs/set, and type 'make set'.  The full documentation (combined
> Users' Guide and Library reference) will end up in set/ after a while.

That does not work. make answers
	make: *** No rule to make target `set'.
Any ideas? Do I have to take special actions when
configuring?

Ralf

Reuben Thomas | 2 Feb 2001 15:29
Picon
Picon
Favicon

RE: Documentation

> That does not work. make answers
> 	make: *** No rule to make target `set'.
> Any ideas? Do I have to take special actions when
> configuring?

Simon meant "make html" and "make ps". "make set.html" and "make set.ps"
also work, I think.

--

-- 
http://sc3d.org/rrt/ | free, a.  already paid for (Peyton Jones)

George Russell | 6 Feb 2001 14:04
Picon
Picon

Semi-applied datatypes in instance declarations

I apologise if this has been raised before, but the code I am
writing now would look rather nicer if "partially applied 
type constructors" were permitted in instances.  For example:

class Event e where
   sync :: e a -> IO a

data Event extraData a = blah blah . . .

instance (context on extradata) => Event extradata where
   blah blah . . .

Any chance of this?  Or are there reasons why this would be wholly
ridiculous?

Julian Seward (Intl Vendor | 6 Feb 2001 14:57
Picon
Favicon

ANNOUNCE: The Glasgow Haskell Compiler -- version 4.08.2

           The Glasgow Haskell Compiler -- version 4.08.2
          ================================================

We are pleased to announce a new release of the Glasgow Haskell
Compiler (GHC), version 4.08.2.  The source distribution is freely
available via the World-Wide Web and through anon. FTP, under a
BSD-style license.  See below for download details.  Pre-built
packages for Linux, FreeBSD, Solaris and Win32 are also available.

Haskell is "the" standard lazy functional programming language; the
current language version is Haskell 98, agreed in December 1998.

GHC is a state-of-the-art optimising compiler for Haskell, generating
good code for a variety of platforms.  The distribution includes space
and time profiling facilities, a large collection of libraries, and
support for various language extensions, including concurrency,
exceptions, and foreign language interfaces (C, C++, whatever).

A wide variety of Haskell related resources (tutorials, libraries,
specifications, documentation, compilers, interpreters, references,
contact information, links to research groups) are available from the
Haskell home page at

        http://www.haskell.org/

GHC's Web page lives at

        http://www.haskell.org/ghc/

+ What's new in 4.08.2
(Continue reading)

Marcin 'Qrczak' Kowalczyk | 6 Feb 2001 15:29
Picon
Picon
Favicon

Re: Semi-applied datatypes in instance declarations

On Tue, 6 Feb 2001, George Russell wrote:

> I apologise if this has been raised before, but the code I am
> writing now would look rather nicer if "partially applied 
> type constructors" were permitted in instances.

They are. For example monads.

--

-- 
Marcin 'Qrczak' Kowalczyk

George Russell | 6 Feb 2001 15:34
Picon
Picon

Re: Semi-applied datatypes in instance declarations

Marcin 'Qrczak' Kowalczyk wrote:
> 
> On Tue, 6 Feb 2001, George Russell wrote:
> 
> > I apologise if this has been raised before, but the code I am
> > writing now would look rather nicer if "partially applied
> > type constructors" were permitted in instances.
> 
> They are. For example monads.
Yes you are right.  I'm sorry for wasting your time - I made a mistake
in constructing my test case.

Malcolm Wallace | 6 Feb 2001 15:31
Picon

GHC-4.08.2

The download links on
    http://www.mirror.ac.uk/sites/www.haskell.org/ghc/
for the new GHC 4.08.2 have somewhat (ahem) strange referents.

(The RedHat 6 binary package gives me a picture of Haskell B Curry,
the RH6 profiling package gives me a .dvi file of the dynamic semantics
of the language, RH7 source RPM gives me an Emacs hugs-mode....)

The original haskell.org site seems ok, just mirror.ac.uk is broken.

    Malcolm


Gmane