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
Sun, 22 Aug 1999 03:39:11 +0200, Michael Weber [EMAIL PROTECTED]
pisze:
*hmm* this works with ghc-4.04 of 1999/08/03 on Linux, but I had to increase
stack size, i.e.
./fmtest +RTS -K2M
Ah, thanks. Surprisingly, with 1 elements and 4.04 it needs at
least -K4M, but with 4.02 it
"Jeffrey R. Lewis" [EMAIL PROTECTED] wrote,
Mark Utting wrote:
Simon wrote:
Can anyone help with this? Simon and Sigbjorn are both
on holiday, and I am wonderfully ignorant about such things.
John McCarten wrote:
I recently emailed you concerning the installation of GHC,
I
[I don't know if this will be much help, but...]
I've had a lot of trouble trying to install GHC 4.04 under
Linux too, both from the binary distribution and the source one.
This gmp problem was fairly easy to fix, I just hunted
around the (source) directory tree and found that gmp is
John McCarten writes:
I recently emailed you concerning the installation of GHC,
I have now managed to install and configure to some degree the
system, however it 'compiles' a haskell script but fails when
trying to import the library gmp, giving the message:
ld: Software Generation
lips ghc-4.04 -O -c -fglasgow-exts MonadLibrary.lhs
panic! (the `impossible' happened):
mk_cpr_let: not a product
forall a{-ruq-} b{-rur-}.
(a{-ruq-} - b{-rur-})
- MonadLibrary.StateM{-r2o,x-} m{-a30Y-} s{-a30Z-} a{-ruq-}
-
I have been looking at the GHC 4.04 sources a little lately and in the
module FastString (in ghc/compiler/utils), the instance for Eq is defined as
follows:
instance Eq FastString where
a == b = case cmpFS a b of { LT - False; EQ - true; GT - False }
...
and cmpFS will return EQ if
Michael Weber [EMAIL PROTECTED] wrote
[snip]
forkChild :: IO () - IO (MVar ())
forkChild p = do
mvar - newEmptyMVar
forkIO (p putMVar mvar ())
return mvar
This does not of course synthesise a non-daemonic forkIO from a daemonic one, because
it requires the parent thread to wait
"Erik Meijer" [EMAIL PROTECTED] wrote,
I can reveal a little secret (Sigbjorn is far away in the
Norwegian woods :-) namely that soon H/Direct will
directly support .h files, which means that it will even
be easier than before to get automate all the boring work
in making standard C
"Will" == Will Partain [EMAIL PROTECTED] writes:
Will Marko Schuetz [EMAIL PROTECTED] writes:
... It has taken the Haskell community quite some time to
switch to liberal licenses. IIRC only Hugs used to come
with a license at all, neither hbc, ghc nor nhc used to
have one for quite some
There seems to be some interest in setting up a collaborative site,
but no-one seems to know how to go about doing it.
One possible solution would be a Wiki (formerly WikiWiki) site.
This was also mentioned some time ago, but, again, no-one
seemed to know how to go about doing it.
The good
On Mon, Aug 23, 1999 at 11:12:15AM +0200, Marko Schuetz wrote:
In some countries "If it isn't explicitly allowed it's forbidden"
In most countries, you mean. This includes every country whose copyright
laws are based on the Berne convention. I know the USA and Finland
are like this, and I
Jan Skibinski [EMAIL PROTECTED] wrote,
On Mon, 23 Aug 1999, Manuel M. T. Chakravarty wrote:
That's interesting, indeed. I am also close to finishing
the first version of a tool that simplifies Haskell access
to C libraries by extracting interface information from C
headers.
x-richcolorparam,,/parambiggerFast, Error Correcting
Parsing Combinators
/bigger/color(Updated: Aug-19-1999)
I have placed a completely new set of parser combinators on the net at
http://www.cs.uu.nl/groups/ST/Software/Parse/.
I consider my old LL(1) combinators obsolete by now.
Paul Hudak wrote:
P.S. I really like the idea someone suggested of maintaining a list of
open projects, who's working on what, etc. as in the Linux community.
One major difference between the Linux community and the Haskell
community is that in LinuxLand the reward is the name, recognition,
"Erik Meijer" [EMAIL PROTECTED] wrote,
In H/Direct you define the interface of some software
component in IDL (we have supported both MS-IDL and
OMG-IDL from the beginning).
The H/Direct paper says (Section 2.2),
We focus on the IDL used to describe COM interfaces [10],
which is
-Original Message-
From: Keith Wansbrough [EMAIL PROTECTED]
To: Ted Carroll [EMAIL PROTECTED]
Cc: Mark P Jones [EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: 23 August 1999 14:38
Subject: Re: Licenses and Libraries
[..]
Ted C.
P.S.
And there is _no_ handle to the output of the command! An obvious hack is
to use redirecting; here is how you implement a simple date function in
Haskell:
date :: IO String
date =
do system "date /tmp/answer"
readFile "/tmp/answer"
[..]
I implemented these functions
[..]
Ted C.
P.S. If somebody could explain Monads in plain english it might not
hurt either.
Someone already has:
http://www.dcs.gla.ac.uk/~nww/Monad.html
--KW 8-)
One possible solution would be a Wiki (formerly WikiWiki) site.
This was also mentioned some time ago, but, again, no-one
seemed to know how to go about doing it.
It would be great to have a Haskell Wiki. As I understand it,
to host a Haskell Wiki would require:
a) providing a suitable
"Daan Leijen" [EMAIL PROTECTED] wrote,
Sigbjorn Finne has done a lot of work to make sure that H/Direct can
handle
any standard and dialect of IDL that is around, including
OMG/Corba IDL's. H/Direct can generate interface code to
any C library that is described with IDL (which is
Sun, 22 Aug 1999 00:30:29 +0200, Erik Meijer [EMAIL PROTECTED] pisze:
Well, in some sense .h files are a dedicated interface language
(and IDl is nothing more than a header file with some directional
attributes).
I already know C and .h format. Where can I learn IDL?
--
__("Marcin
"Simon" == Simon Peyton-Jones [EMAIL PROTECTED] writes:
One possible solution would be a Wiki (formerly WikiWiki) site.
This was also mentioned some time ago, but, again, no-one
seemed to know how to go about doing it.
Simon It would be great to have a Haskell Wiki. As I understand it,
On Mon, 23 Aug 1999, felix wrote:
P.S. If somebody could explain Monads in plain english it might not
hurt either.
Someone already has:
http://www.dcs.gla.ac.uk/~nww/Monad.html
--KW 8-)
Yes, that text is not bad, but I think it still has a problem (one I found
in two or three
It's good to see so many people eager to help with haskell.org. We
have plans for some significant changes at haskell.org and I hope this
will result in a much more open, community developed site. Andy Gill
and I had a meeting about this at OGI and we will have a new
haskell.org online soon
Heribert Schuetz [EMAIL PROTECTED] writes:
Hi,
The appended patch to Hugs98 (to be applied in the src subdirectory)
might be of some help for those who want to do shell scripting in
Haskell. It modifies IO.openFile as follows:
- If the name of a file opened in ReadMode ends in "|", then
the product. I really do not need any interface to Cobol or
any other exotic language language but C. This would solve
most of _my_ problems and for this I would heartily welcome
anything simpler than H/Direct - no matter whether it came
from one camp or
Several respondents pointed out to me my unfortunate choice
of words, which implied that H/Direct is either related to
MS-specific tools or MS-specific applicability. I apologize
for this.
But H/Direct focuses _also_ on COM, and for this a specific
felix wrote:
Everything just looks
so darn complicated - even if you are basically just doing the same thing:
CONS, APPLY,
and LAMBDA.
Why CONS? APPLY and LAMBDA is all you need. :-)
--
-- Lennart
Dear Sir/Madam,
One of our authors, Chris Okasaki, has asked me to place a book
announcement on your Haskell mailing list for the paperback of his book
Purely Functional Data Structures. The announcement follows: if you have
any questions or would like to make any changes, please contact me.
30 matches
Mail list logo