RE: IOExts

2000-01-31 Thread Manuel M. T. Chakravarty
Simon Marlow <[EMAIL PROTECTED]> wrote, > Malcolm Wallace writes: > > I solicit the comments of those who care about this relatively trivial > > matter. If no-one else does, I'll just shut up again. :-) > > i think the answer is "yes we care", but on the whole I think the benefits > of having

Wanted: mmap or other fast IO

2000-01-31 Thread Matthias Kilian
Hello, Is there any interface to mmap(2) available? Something that behaves like an immutable array would be great. An mmap may have a signature like mmap :: Ix a, ?? b => Handle -> IO (Array a b) I've no idea what types should be allowed for b. It has to be some fixed size type, e.g. Int, but

Re: Socket module, graphs

2000-01-31 Thread Hannah Schroeter
Hello! On Mon, Jan 31, 2000 at 09:11:14PM +0100, Wojciech Moczydlowski, Jr wrote: > [...] > main = do > socket <- listenOn (PortNumber (mkPortNumber 6665)) > (handle, hn) <- accept socket > putStrLn hn" - it's just supposed to say who called and exit. > Nevertheless, when I try

Socket module, graphs

2000-01-31 Thread Wojciech Moczydlowski, Jr
I have 2 questions. First is on the Socket module - I have a program (server) which looks like: "module Main where import Socket main = do socket <- listenOn (PortNumber (mkPortNumber 6665)) (handle, hn) <- accept socket putStrLn hn" - it's just supposed to say who cal

RE: IOExts

2000-01-31 Thread Simon Marlow
Malcolm Wallace writes: > Why might the current name be misleading? > > * First, we must ask why IOExts is separate from IO in the first > place. > > * Is the module separate simply because it was late to the > party? Does it just contain small things that were 'forgotten' or >

Re: FFI bug ?

2000-01-31 Thread Sven Panne
[ Cross-mailed to ghc-users, too, because this is not really a bug ] Jan Kort wrote: > It seems that FFI no longer accepts "ByteArray Int" in ghc 4.06 > (it does in ghc 4.04), it looks intentional ? Even it is unintentional now, it will be omitted in future versions when the new FFI design is fi

IOExts

2000-01-31 Thread Malcolm Wallace
I am starting a one-person (and it might stay that way :-) campaign to change the name of the library module IOExts to something more meaningful and pronounceable. Personally, I hate the name IOExts with a vehement loathing, but I guess I probably have to convince quite a number of other people b

RE: ghc-4.06 for libc-2.0

2000-01-31 Thread Simon Peyton-Jones
You can compile 4.06 with 4.04. We distribute a binary 4.04 for libc-2.0. If you want a Debian version you'll have to ask Michael Weber... Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: 31 January 2000 12:57 | To: [EMAIL PROTECTED] | Subject: gh

RE: glasgow-haskell-docs.html.tar.gz please

2000-01-31 Thread Simon Marlow
> Simon Marlow wrote: > > The binary dists all have pre-formatted HTML and PS docs, > so you could just > > download one of those (except it seems the link to the > Linux binary dist is > > currently broken; I'll fix that shortly, in the meantime > there's the solaris > > binary dist). > > I

ghc-4.06 for libc-2.0

2000-01-31 Thread S.D.Mechveliani
I have got into a stupidly stuck situation. A stable recent GHC version is needed. ghc-4.06 is going to be such. And it should be able to be built from sources: I want to see that it passes this test. ghc-4.04 cannot compile ghc-4.06 due to certain bug. Hence, it seems, I have to install fir

Re: glasgow-haskell-docs.html.tar.gz please

2000-01-31 Thread George Russell
Simon Marlow wrote: > The binary dists all have pre-formatted HTML and PS docs, so you could just > download one of those (except it seems the link to the Linux binary dist is > currently broken; I'll fix that shortly, in the meantime there's the solaris > binary dist). I think perhaps you are mi

RE: ANNOUNCE: GHC 4.06 released

2000-01-31 Thread Simon Marlow
Matthias Kilian writes: > I wonder what the cvs release naming strategy is. Ist 4.06 on > the main cvs > branch, or is there a special tag for official releases, or what else? > > A `cvs up -dPA -r 4.06' in the fptools directory simply > removed everything > (don't worry, I did make a copy bef

RE: glasgow-haskell-docs.html.tar.gz please

2000-01-31 Thread Simon Marlow
> Please can we have a "binary" distribution of the Glasgow > Haskell documentation > in HTML format? In theory I believe I can do it by > installing various bits of > SGML software, hacking them to work with Solaris rather than > Linux, linking them > up, and running the relevant Make command

RE: 4.06 binary

2000-01-31 Thread Simon Peyton-Jones
| Also I need the profiling for the user programs. | Who could, please, tell me how to organize this? | Maybe, something has to be set in mk/build.mk after running | ./configure ? You need: GhcLibWays=p in config.mk.in. But it's set that way by default, so you should get the profil

Re: 4.06 binary

2000-01-31 Thread Michael Weber
On Mon, Jan 31, 2000 at 12:08:35 +0300, S.D.Mechveliani wrote: > Then, I am going to install 4.06-binary (if I can find it!) primary site: http://haskell.org/ghc/dist/4.06/ghc-4.06-i386-unknown-linux.tar.gz unofficial mirror (Hi Simon! Got my mail? :-)): http://www-i2.informatik.rwth-aachen.de

4.06 binary

2000-01-31 Thread S.D.Mechveliani
To my >> I tried to compile ghc-4.06 with ghc-4.04 : >> [..] >> /usr/ghc/4.04/bin/ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen >> [..] >> -c basicTypes/Const.lhs -o basicTypes/Const.o -osuf o >> >> Const.lhs:51: Module `GlaExts' does not export `fromInt' >> Compilation had errors