[I am reading ghc-bugs via the list archives, Cc'ing me would make me
see responses faster]
Here's a simple memoization function:
applyMemo :: (Eq a1,Show a1) = (a1 - b) - MVar [(a1,b)] - (a1 - b)
applyMemo f refTable x1 = unsafePerformIO $ do
-- print x1
table - takeMVar refTable
* [EMAIL PROTECTED] [2003-10-21T11:39+0200]:
Now, Haskell takes 4.57 the time of C++ (cygwin gnu C++ with -O2).
Did you add the SSE options etc. to the C++ program as well when
comparing Haskell vs. C++? What is the SSE speedup of C++
vs. C++/with SSE?
Cheers,
Michael
* Simon Marlow [EMAIL PROTECTED] [2003-03-21T13:02+]:
GCC has __umoddi3 in libgcc.a. It generates calls to that function and
others for some 64-bit operations. On our RedHat box here, __umoddi3 is
also exported by libc.so, which is why we don't get any link errors.
Perhaps on your box it
* Malcolm Wallace [EMAIL PROTECTED] [2003-03-19T14:33+]:
Anyway, I changed mk/config.h to add
#define HAVE_ALTZONE
#define HAVE_TIMEZONE
and received the same error. I will now `make clean' and rebuild from scratch,
to see if it makes any difference.
You may have to copy (and
* Kirsten Chevalier [EMAIL PROTECTED] [2003-03-17T01:09-0800]:
configure says:
checking for sendfile in sys/sendfile.h... no
checking for sendfile in sys/socket.h... no
I tried building again just now, just to be sure, and still got the same error
message (Sendfile.hsc:19: Variable not in
On Thu, Jan 09, 2003 at 02:37:03AM -0800, William Lee Irwin III wrote:
On Mon, Jan 06, 2003 at 06:13:27AM -0800, William Lee Irwin III wrote:
Thanks, I've started brewing up a tree and I'll take that for a spin
when it's done cooking.
ouch! jadetex needs an upgrade (ghc debian
- Forwarded message from Richard Braakman [EMAIL PROTECTED] -
Date: Tue, 03 Dec 2002 03:26:54 +0200
From: Richard Braakman [EMAIL PROTECTED]
Subject: Bug#171518: ghc --make does not play nice with FFI wrapper
To: Debian Bug Tracking System [EMAIL PROTECTED]
Reply-To: Richard Braakman
On Mon, Nov 25, 2002 at 10:09:01AM -, Simon Marlow wrote:
It is nice, but it introduces too many problems. What happens to any
I/O errors encountered by the lazy I/O? They have to be discarded,
which means you can't effectively use lazy I/O for robust applications
anyway.
On Mon, Nov 25, 2002 at 11:22:56AM -0500, Dean Herington wrote:
Is even the following example from the library report (section 11.8.2)
problematic?
import System
import Char( toUpper )
main = do
[f1,f2] - getArgs
s - readFile f1
writeFile f2 (map toUpper s)
On Mon, Nov 18, 2002 at 10:36:05AM -0800, Hal Daume III wrote:
You can't. CSE (common subexpression elimination) will replace any
occurances of 'newState 0' in a function body with the same value.
In short: don't use upIO :)
Sorry, cannot resist to pour a little salt onto the wound :)
* Wolfgang Thaller [EMAIL PROTECTED] [2002-10-09T00:42+0200]:
When building the library archive libHSbase.a, the makefile system
includes not only all the split object files, but also the file
PrimopWrappers.o. Consequently [at least on Mac OS X], ranlib generates
a warning about duplicate
* Simon Marlow [EMAIL PROTECTED] [2002-07-22T14:46+0100]:
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/hslibs/posix
/doc/posix.sgml?rev=1.14content-type=text/x-cvsweb-markup
it has
See XRef LinkEnd=sec-Concurrent-Haskell for details on how to
communicate between
on ;)
Why not?
I'm sure Michael Weber is working on it even as we speak...
ETA is next weekend.
Cheers,
Michael
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
On Thu, Oct 25, 2001 at 03:18:33 -0700, Ashley Yakeley wrote:
At 2001-10-25 03:01, Simon Marlow wrote:
I've wondered at various times in the past whether there ought to be a
link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes.
Won't help, my GHC is installed at
* Denver [EMAIL PROTECTED] [2001-10-26T01:25+1000]:
Please help. I would like to use HOpenGL within Windows, so I wanted
to ask whether it was possible, and if it is, I would like to request
for help. Any help greatly appreciated.
Hi!
I'm sorry, I don't know much about the
On Thu, Sep 27, 2001 at 10:29:04 +0100, Simon Marlow wrote:
A :l X -- trying non-existing module
can't find module `X' -- all right
Prelude :m A
`A' is not currently loaded -- ?
Prelude
The ':load' command begins by unloading all of the
On Wed, Sep 26, 2001 at 16:21:09 +0200, Koen Claessen wrote:
I discovered a bug in the Time module. If I run the
following code snippet:
Just one? ;)
[...]
The TimeDiff value has a tdSec field greater than 59, and a
tdMin field of 0. I guess this is a bug.
I am running ghc-5.00.2 on
On Mon, Sep 24, 2001 at 11:00:49 +0200, Ch. A. Herrmann wrote:
Dear Haskellers,
in ghc-5.02/distrib/INSTALL, there is the following hint:
Linux users: GHCi-5.00 needs libreadline.so.3.
hrm... then what did I do wrong? :)
[209]% ldd /usr/lib/ghc-5.00.2/ghc-5.00.2
libdl.so.2 =
On Tue, Jul 10, 2001 at 19:54:11 +0100, Chris Webb wrote:
Jose Emilio Labra Gayo [EMAIL PROTECTED] writes:
However, if I write my own .ghci, I obtain:
[...]
*** WARNING: ./.ghci is writable by someone else, IGNORING!
If doing this annoys you too much, I guess you could easily fix the
On Wed, Jun 27, 2001 at 10:32:47 +0200, Volker Stolz wrote:
Maybe I'm the only one who happens to type
:q! to leave ghci all the time, maybe not.
Would somebody object to a patch which will cause
ghci to quit on :q!?
Oh, and I want C-x C-c
... and C-K Q while we're at it... ;-p
(No, this is
On Tue, Jun 26, 2001 at 15:02:28 +0200, Michael Sperber [Mr. Preprocessor] wrote:
Salve glorious Glasgow Haskell teamsters!
The ghc release notes keep announcing that the ghc distro is available
via anonymous ftp, referring to details below. However, there never
seem to be any details,
* Marc van Dongen [EMAIL PROTECTED] [2001-05-11T10:52+0100]:
Manuel M. T. Chakravarty ([EMAIL PROTECTED]) wrote:
[received message twice]
Am I just the only one or does everybody receive
messages posted to [EMAIL PROTECTED] and
[EMAIL PROTECTED] twice? I find
it a bit (I know I am
* William Chesters [EMAIL PROTECTED] [2001-05-09T20:58+0200]:
William Chesters writes:
However the toy exe I build terminates with an Illegal
instruction signal (whether or not I use -via-C), and the same quite
quickly happens to ghci if I play around. If I copy the toy exe onto
On Mon, Apr 30, 2001 at 12:19:32 +0100, Simon Marlow wrote:
So, I think a safe solution is to ensure that the .ghci file belongs
to the user. Checking for decent permissions would increase security,
but well, IMO it's the users' fault, if he creates a 777 .ghci :-P
I've thought about
* BENNETT,ANDY (HP-Unitedkingdom,ex1) [EMAIL PROTECTED] [2001-04-27T15:10+0100]:
While I agree that there is a potential security hole, I think it is
something that you could possibly tackle with the OS security mechanisms. I
don't know much about Windows, or other Unix platforms, but if they
On Sun, Apr 22, 2001 at 16:44:54 +0200, Michael Weber wrote:
The (Interactive) Glasgow Haskell Compiler -- version 5.00
We are pleased to announce a new major release of the Glasgow Haskell
Compiler (GHC), version 5.00
Please, preserve the Cc: when replying.
- Forwarded message from Michal Politowski [EMAIL PROTECTED] -
Date: Sat, 21 Apr 2001 18:57:01 +0200
From: Michal Politowski [EMAIL PROTECTED]
Subject: Bug#94739: ./.ghci -- isn't it dangerous?
To: Debian Bug Tracking System [EMAIL PROTECTED]
On Mon, Apr 23, 2001 at 15:00:08 +0100, Simon Marlow wrote:
Mon, 16 Apr 2001 00:15:39 +1000, Manuel M. T. Chakravarty
[EMAIL PROTECTED] pisze:
The source tar ball misses the configure scripts (it has the
`configure.in's, but the source tar ball should be
autoconf'ed, shouldn't
The (Interactive) Glasgow Haskell Compiler -- version 5.00
We are pleased to announce a new major release of the Glasgow Haskell
Compiler (GHC), version 5.00. The source distribution is freely
available via the World-Wide
On Thu, Apr 19, 2001 at 20:49:25 -0600, Alastair Reid wrote:
PPUnits.hs: can't find one of the following: `is.hi' `is.hs' `is.lhs'
Obviously, the dependency generating code is being confused by the
function name "import'". I'd go fix the relevant regexp myself except
that I can't figure
On Wed, Apr 18, 2001 at 21:36:04 +0200, Johannes Waldmann wrote:
A slightly related point, I was having difficulties with TimeDiff
values - I got negative tdPicosecs sometimes,
and some functions (show) even dumped core.
Are such problems known (I am using a binary ghc-4.08)?
For the
On Tue, Apr 17, 2001 at 21:20:04 +0200, Markus Lauer wrote:
Hi,
I compiled ghc-5.00 from the source distribution
(config --prefix=.; make; make install).
when I call ghci I get
ghc-5.00: not built for interactive use
Is there anything special to enable GHCi?
You have to
* "Manuel M. T. Chakravarty" [EMAIL PROTECTED] [2001-04-16T14:21+1000]:
which automates the process. More details at
http://haskell.cs.yale.edu/ghc/docs/4.08.2/building/sec-booting-from-c.html
I just found that this documentation seems to have disappeared
since the 5.00 release. I
On Thu, Apr 12, 2001 at 18:35:23 +0200, Wolfhard Bu wrote:
Hello,
i just built and installed ghc 5.00 from the sources
with the help from ghc 4.08.2.
ghci responds with 'ghc-5.00: not built for interactive use'.
just rebuild ghc-5.00 with itself again.
Cheers,
M/
--
/~\ ASCII ribbon |
On Thu, Mar 01, 2001 at 18:00:36 +0100, Frank Steiner wrote:
Hi,
Hi Frank,
I need to install a recent ghc version on a Sparc running
Solaris. I cannot use the precompiled binaries as I don't
have access to /usr/local and it seems that this path is
hard-compiled into the binaries.
hmm,
[ Volker, is your Mail-Followup-To:-header intended like this? ]
* Volker Stolz [EMAIL PROTECTED] [2001-01-26T14:57+0100]:
[ configure thinks: happy-1.10 happy-1.9 ]
And in a sense, it is right. I'd really like to come up with a fix, but
I guess...
[ perl thingy ]
perl vers.pl "1.9"
* John Hughes [EMAIL PROTECTED] [2001-01-22T20:10+0100]:
liam@HEMPC ~/BDDs
$ ghc -static -c -fglasgow-exts Pigeon.hs
[...]
basicTypes/Var.lhs:194: Non-exhaustive patterns in function
readMutTyVar
This is a nice one. If you change it in a sublte way:
+++ Pigeon.hi
pigeon n t =
* Simon Marlow [EMAIL PROTECTED] [2001-01-16T02:17-0800]:
[...] The Solaris man page has this exact same paragraph,
although I can find no mention of this behaviour in the POSIX book I
have, the Linux man pages (surprise :-) or the Glibc docs.
Well, yes the man pages *ummh* sort of suck, but
* Michael Weber [EMAIL PROTECTED] [2001-01-16T00:00+0100]:
[...]
So, a solution seems to be, to block SIGTTOU during the call of
tcsetattr
[...]
BTW: Eventually, the following functions need the same shielding:
tcsetattr, tcsendbreak, tcflow, tcflush
Cheers,
M/
--
() ASCII ribbon
On Thu, Oct 19, 2000 at 17:24:04 +0200, George Russell wrote:
On this subject, where am I to get the libgmp2.a required by 4.08.1
(on Linux anyway). I tried compiling the very latest version of GMP
but it only produced a libgmp.a file. Is that the same?
Everyone and their brothers is
On Thu, Oct 19, 2000 at 17:39:54 +0200, Michael Weber wrote:
On Thu, Oct 19, 2000 at 17:24:04 +0200, George Russell wrote:
On this subject, where am I to get the libgmp2.a required by 4.08.1
(on Linux anyway). I tried compiling the very latest version of GMP
but it only produced a libgmp.a
On Mon, Oct 16, 2000 at 09:09:08 +0100, Martin Böhme wrote:
Dear GHC team,
While testing Martin Erwig's functional graph library, I encountered
what I believe is a bug in GHC. My test program crashes with a
segmentation fault for graphs above a certain size.
*hmm* I just tested the
[CC field left intact, despite nonexistant Mail-Followup-To]
On Tue, Oct 03, 2000 at 13:52:38 +, Steinitz, Dominic J wrote:
Pointer.lhs:103:
Couldn't match `AddrOff' against `Int'
Expected type: AddrOff
Inferred type: Int
In the application `toInt i'
In the
On Tue, Sep 19, 2000 at 10:04:55 -0700, Sigbjorn Finne wrote:
POSIX.1 only defines #defined constants upto B38400, so anything
beyond that is non-standard [...]
... which does not necessarily imply, that GHC is not going to
support it ;-)
Marcus Shawcroft wrote:
Can these missing rates be
On Sat, Sep 09, 2000 at 10:23:31 +0200, Volker Stolz wrote:
When configuring a recent ghc, ./configure complains about not finding
DOCBOOK - which is no wonder as it keeps looking in strange hardcoded
places like /usr/lib. Could someone please enlighten me about what changes
would be
On Mon, Jul 31, 2000 at 12:23:19 -0400, Kirsten R. Chevalier wrote:
Hi,
I'm trying to compile a program using GHC 4.08 on a Linux system, and I'm
getting an error simply consisting of "AClass", with no output files from
the compiler. When I compile with -v, I get the following output:
The
"Bill Halchin" [EMAIL PROTECTED] wrote,
[...] I think it was "gpm". [...]
~~~
On Sat, Jul 29, 2000 at 20:44:19 +1000, Manuel M . T . Chakravarty wrote:
The painless approch is to install the gpm package that ghc
Linux/x86 system with the binary
package ghc4-4.08.0-1 from Michael Weber [EMAIL PROTECTED].
... which is not surprising, because I checked it out with
``-rghc-4-07-branch'' :-)
Cheers,
Michael
--
() ASCII ribbon campaign | Chair for Computer Science II | GPG: F65C68CD
/\ against HTML mail
On Thu, Jul 20, 2000 at 21:08:21 -0400, Benjamin Leon Russell wrote:
Do you have any plans on making a Windows 9x/NT/2000-compatible
version anytime soon?
Well, unfortunately, I don't have access to a Windoze box with a GHC
installed[1], so I just had no chance of testing it. Therefore, I
On Thu, Jul 20, 2000 at 21:08:21 -0400, Benjamin Leon Russell wrote:
Do you have any plans on making a Windows 9x/NT/2000-compatible
version anytime soon?
Well, unfortunately, I don't have access to a Windoze box with a GHC
installed[1], so I just had no chance of testing it. Therefore, I
[Xposted to ghc-users haskell mailing lists]
Hi!
I'd like to announce (finally!) the first OFFICIAL PRE-release :) of
hMPI, a Haskell binding for a message passing interface conforming to
the MPI 1.1/1.2 standard.
It's available from
On Sun, Jul 16, 2000 at 16:49:35 -0700, Martin Pokorny wrote:
Hi all,
I'm a beginner to functional programming and Haskell, so please bear
with me. I am working on some numerical programming routines, and I
ran into a small problem trying to compile a module of mine. I'm using
ghc version
On Mon, Jun 19, 2000 at 04:38:21 -0700, Simon Marlow wrote:
Ok, here's my proposal for the version numbering issue. I think we should
bite the bullet and fix the numbering scheme to something sensible now, even
though it means changing version 4.07 to be called 4.08. Any objections?
Hi all!
I took a look (or maybe some more) at the well-known, totally buggy
Time module...
I think, I sorted out the main problems and fixed them:
* toClockTime couldn't deal properly with anything but local
TZ-encoded CalendarTime's (i.e. not with UTC-encoded CT's for
example)
*
`make', didn't you?
Cheers,
Michael
--
Lehrstuhl-Kinderkrippe Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
and MutableArrays.
- remove the MutableArray interface from
hslibs/lang/MutableArray. This module will go
away soon - Andy, don't bother porting it to Hugs.
Cheers,
Michael
--
Lehrstuhl-Kinderkrippe Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW
s,
Michael
--
Lehrstuhl-Kinderkrippe Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
tement?
Is there another possible reason for this behaviour?
(ghc-4.07, CVS version 2000/05/04)
[Sorry, but I was unable to find a small example, that triggers this "bug".
Things like (tryAll (runST (return (error "BANG" work as expected]
Cheers,
Michael
--
Lehrstuhl-Kind
On Mon, May 08, 2000 at 07:30:18 -0700, Simon Marlow wrote:
If you embed the (error "BANG") inside a data structure, then it can indeed
excape from the tryAll because seq only evaluates to WHNF.
Thanks a bunch, that pointed me in the right direction!
tryAll (runST (return (error
Will ghc change interface format with each version?
This is the biggest problem (and, interestingly, the least addressed :-)).
Especially for binary distribution builders, it's quite inconvenient to
rebuild every GHC-library on the system to match with the latest compiler
version :-(
I thought
the messages...
--
Lehrstuhl-Gärtnerei Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
^ ?
BTW: not giving _any_ optimization options is equivalent to -Onot, IIRC.
Cheers,
Michael
--
Lehrstuhl-BeleuchtungMichael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
-BeleuchtungMichael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
converted to DocBook, but at least one argument remains:
You have to use a stylesheet-capable browser to view the html pages...
bye-bye lynx, w3m... :-(
Just my $0.02EUR
Cheers
Michael
--
Lehrstuhl-Beleuchtung Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW:
consequence that the variables are overridden with the lines listed
above...
Is this true, or did I miss an important step?
Cheers,
Michael
--
Lehrstuhl-BeleuchtungMichael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
On Tue, Jan 18, 2000 at 03:49:35 -0800, Simon Marlow wrote:
BIN_DIST=1
in your build.mk file in order to build a binary distribution. I bet that's
the problem.
In fact, that fixed the problem...
thanks cheers,
Michael
--
Lehrstuhl-BeleuchtungMichael Weber [EMAIL PROTECTED
-files-too ...
Cheers,
Michael
--
Lehrstuhl-Gärtnerei Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
Hi!
I had to apply some patches to make today's GHC build, they're attached.
The patch to ghc/mk/paths.mk is necessary, because the ordering of variables
is important when using "simply expanded variables", i.e. the `:=' ones (I'm
using make-3.78.1).
BTW: Might I still suggest to change this
On Fri, Jan 07, 2000 at 09:44:09 +0100, Michael Weber wrote:
Unfortunately, this neithers explains Sven's problem nor mine, since
unpackCStringIO needn't be present to show the error.
It seems, today's GHC made the problem disappear (or, at least, it
disappeared between 1999/12/06 and 2000/01
On Sun, Jan 09, 2000 at 15:24:03 +, Ian Jackson wrote:
* `foreign' seems to have become a keyword ! My program uses it as a
variable/function name and I had to rename it to avoid a parse error.
I couldn't find anything about it in my documentation.
IIRC, it is only, iff option
'
-- ^ ^
in (mrt, g', cbs', nfs')
\end{code}
See the cycle? Removing the guard does the trick (BTW: I tested with 19991206).
Cheers,
Michael
--
Lehrstuhl-Gärtnerei Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW
GETFL]");
}
return -1;
}
int
main ()
{
block_fd (fileno (stdin));
block_fd (fileno (stdout));
block_fd (fileno (stdin));
}
--
Lehrstuhl-Gärtnerei Michael Weber [EMAIL PROTECTED]
Lehrstuhl für Informatik II
RWTH Aachen
WWW: http://www-i2.infor
The subject says it all, just wanted to show-off a bit ;-)
Thanks to Aaron Van Couwenberghe for sponsoring the packages...
However, I'll keep the Haskell page up running, usually, you'll find new
versions some days earlier here...
Cheers,
Michael
--
Lehrstuhl-Gärtnerei Michael
On Sun, Dec 05, 1999 at 16:35:42 +, Ian Jackson wrote:
I'm using a GHC binary package from Debian GNU/Linux, binary package
version 4.04.19990916-0slink1 built by Michael Weber
[EMAIL PROTECTED]. As soon as I get it to compile
I'll try a compiler installation I built myself
!fptools/nofib !fptools/green-card !fptools/literate
!fptools/hdirect !fptools/common-rts !fptools/CONTRIB fptools
Is this a problem with my cvs client or with the repo?
Cheers,
Michael
--
Lehrstuhl-Gärtnerei Michael Weber [EMAIL PROTECTED
On Wed, Oct 06, 1999 at 12:04:03 +0200, Sven Panne wrote:
Michael Weber wrote:
marshalListN :: Int - [a] - IO Addr
I don't see a reason for the duplication of length information, e.g.
what should `marshalListN 1000 [1,2,3]' mean? And
`marshalListN 2 [1,2,3]' is equivalent
[My apologies: some day - I promise - I'll learn to choose the right mailing
list... 8-]
On Mon, Oct 04, 1999 at 13:45:43 +0200, Sven Panne wrote:
[micro-marshalling]
I know Manuel's code already and the one H/Direct produces. Has anybody
else some FFI-related code and/or suggestions? This
On Thu, Sep 30, 1999 at 19:16:48 +0100, Alex Ferguson wrote:
My next worry is that when I try to build ghc from source on an Alpha,
I'll get bitten on the bum by the ghc-needs-Happy-needs-(recent)-ghc
syndrome, or otherwise spend mucho time wrestling with the Happy
build setup to get round
On Fri, Oct 01, 1999 at 02:10:16 +0100, Alex Ferguson wrote:
In order to install ghc-4.04, I need to install the binary v. of 2.10
(this should be OK for doing that, right?)
Last time I checked (some months ago), GHC 4.x wasn't in a shape that it
could be build at all on Alpha architecture! I
On Wed, Sep 22, 1999 at 00:36:27 +0200, Hannah Schroeter wrote:
On Tue, Sep 14, 1999 at 12:43:11AM -0700, Simon Peyton-Jones wrote:
{-# notInline test #-}
test :: IORef [a]
test = unsafePerformIO $ newIORef []
main = do
writeIORef test [42]
bang - readIORef test
Hi!
subject says it all... :-)
They packages for the unstable distribution are available at:
http://www-i2.informatik.rwth-aachen.de/Software/Haskell/
or via APT installation method: just add
deb http://www-i2.informatik.rwth-aachen.de/Software/Haskell/debian unstable/
deb-src
Hi!
The latest CVS GHC doesn't compile with older 4.04 versions (George Russell
already reported this, IIRC). The reason are the following files:
ghc/compiler/basicTypes/Const.lhs
ghc/compiler/coreSyn/CoreUnfold.lhs
ghc/compiler/deSugar/DsForeign.lhs
ghc/compiler/nativeGen/StixInfo.lhs
Hi!
Is there any more information floating around wrt. the Dynamic extensions of
GHC (or hugs)?
The lib-docs say, it may be usable in Distributed Programming, but currently
I have no idea how to transport values of type Dynamic over some kind of net
connection to another instance of a program
On Fri, Sep 03, 1999 at 14:33:57 +0200, George Russell wrote:
(1) The repository is very puritanical about having to have autoconf and
happy installed. Since the chances of my wanting to muck about with the
configuration file/GHC parsers are nill, why not include the configure
On Wed, Aug 25, 1999 at 11:04:27 +0200, George Russell wrote:
I am trying to get GHC, with the latest PrimOps.h fix, to compile with gcc 2.95 on
Sparc
Solaris. I now have an hsc but it doesn't get very far with compiling the standard
library
because when it gets to PrelEnum.lhs, it
On Sat, Aug 21, 1999 at 11:59:25 +, Marcin 'Qrczak' Kowalczyk wrote:
import FiniteMap
main = print . fmToList . listToFM $ [(i,0) | i - [1..3]]
This program simply segfaults. With less than 2 elements it works.
With ghc-4.02 it works.
*hmm* this works with ghc-4.04 of
On Fri, Aug 20, 1999 at 15:34:51 +0200, George Russell wrote:
Einar Karlson, my predecessor, asked for daemonic forking as for Java. In
Java you have ordinary threads and daemonic threads; the process ends when
only daemonic threads are still running. The GHC team seem to have gone
ahead
On Mon, Aug 16, 1999 at 16:40:30 -0500, Michael Hobbs wrote:
Is this a bug with ghc-4.04 or just a "feature" of Haskell 98 that I was
unaware of? I get a parse error with the following code:
data Point = Pt {pointx, pointy :: Float}
abs (Pt {pointx, pointy}) = sqrt (pointx*pointx +
On Wed, Aug 11, 1999 at 12:39:06 +0200, George Russell wrote:
It would be nice if the ghc command had options which made it call
a different hsc/gcc/ld than the one hardwired by the installation
procedure into the Perl script. Currently I am playing games with
my PATH to achieve this effect.
On Tue, Aug 03, 1999 at 01:49:36 -0700, Simon Marlow wrote:
Yesterday's sources were fully broken due to a bogus commit made by me.
Things should be ok now.
Bad luck to me :-(
However, I just wanted to give some feedback that now it's working again
(1999/08/03) on Linux (packages downloadable
Hi!
I tried to recompile the latest ghc (1999/07/31) on a Linux/glibc2.1.1
system (egcs 2.91.66), but there seems to be a problem: the build works, but
the resulting compiler produces executables, that throw core, even with
"main = return ()".
I have a CVS version from 1999/07/10, and this one
On Mon, Aug 02, 1999 at 12:54:23 +0100, Marc van Dongen wrote:
[...]
I've noticed that as well. Code like
does not produce proper error messages anymore which it did with
ghc-4.02. One wonders where the performance boost came from:-)
$ cat tmp.lhs
module Main( main ) where
main =
On Tue, Jul 13, 1999 at 03:26:27 -0700, Simon Marlow wrote:
Use `gcc -E -` then.
Good point :-)
nearly..., but we have to use '$CPP -x c-header' which would expand to
'gcc -E -x c-header', otherwise gcc wants to link those temporary *.lpp
files :-(
IMHO '-x c-header' just means to gcc:
On Tue, Jul 13, 1999 at 17:47:27 +0900, Manuel M. T. Chakravarty wrote:
Simon Marlow [EMAIL PROTECTED] wrote,
It isn't strictly speaking hardcoded, it's set up when you configure a
binary distribution. So if you move gcc or install a new version, you need
to re-install ghc.
Yes, and
Hi!
I attached a patch that does some additional cleanups to a build tree
(equiv.: makes the packager's life easier ;-))
I wasn't sure, which files should go into $(CLEAN_FILES) and which into
$(MAINTAINER_CLEAN_FILES), maybe someone could have a look at my choice.
regarding the perl scripts:
Hi!
Please, can somebody explain, why the preprocessor is hardcoded in the GHC
perl scripts? IIRC ghc (the perlscript itself) doesn't even reference
$RAWCPP. mkdependHS and hscpp do, but why an absolute path and this obscure
"-iprefix" parameter? Again, "-iwithprefix" is never used...
Would it
Hi!
now, this is interesting:
\begin{code}
data Foo label = Const
main = print 1
\end{code}
"ghc-4.04 -c test.hs" works, but "ghc-4.04 -fglasgow-exts -c test.hs" yields:
Foo label
test.hs:2: Illegal data/newtype declaration
Compilation had errors
Instead of 'label', using 'unsafe',
On Fri, Jul 02, 1999 at 01:59:25 -0700, Simon Marlow wrote:
rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase;
else find PrelBase -name '*.o' -print | xargs rm -f __rm_food
; fi ;
../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C
-Rghc-timing -O -split-objs
Hi!
consider this piece of code:
\begin{code}
class Dumb a where
foo, death, something :: a
instance Dumb Int where
foo = 1
death =
something = 1
\end{code}
yields 'Internal Happy error' with CVS from 1999/06/30 and happy-1.5 (sorry,
I didn't
Hi!
does it any harm to include the appended patch?
Otherwise, StgRun.p_o and callfun.p_o won't get cleaned out...
I did a successful build with this patch, so it doesn't seem to break
things...
Cheers,
Michael
--- ghc/rts/Makefile.orig Tue Jun 29 08:40:32 1999
+++ ghc/rts/MakefileTue
1 - 100 of 114 matches
Mail list logo