I read the newsgroup and found that I should use the -static flag (can someone
update the documentation) but I then got the following errors:
$ ghc -static main.hs
Compilation IS NOT required
Delete your object files and start again. The docs will be fixed for 4.08.2
(the online docs should
Hi!
I'm using the IOExts-library and want to use
modifyIORef instead of updateIORef which is marked as deprecated
(section 4.14.2 in the hslibs documentation).
Unfortunately IOExts.hi doesn't export modifyIORef. It only
exports updateIORef..
Is it safe to use updateIORef meanwhile?
bye,
Axel
On Wed, 3 Jan 2001 [EMAIL PROTECTED] wrote:
somebody can tell me where I can find some ideas that help me in the
construction of a minesweeper programmed in haskell
I thank any type of help because I am a little confused
Check out the Haskell Gtk bindings.
Regards,
Shlomi Fish
"Karl M. Syring" [EMAIL PROTECTED] writes:
Mind if I "me too" a bit? I had just read the SICP, and I too found
that the Gentle Introduction served well as an introduction to the
Haskell syntax.
If you start out with zero knowledge in functional programming, as I do, the
GITH is really not
| PS: are the members of the list expecting to get replies by
| private mail?
The thing to do is to switch the thread to
[EMAIL PROTECTED]
haskell@haskell-org is meant for openers; longer threads should
move to haskell-cafe. That way people can control how inundated they
get.
You
Here's a suggestion: would someone like to write such a guide,
from the point of view of a beginner, leaving blanks that we can fill in,
when you come across a task or issue you don't know the answer
to? That is, you provide the skeleton, and we fill in the blanks.
Well, I am definitely a
On Tue, 2 Jan 2001, Paul Hudak wrote:
Unforunately, the "Gentle Introduction To Haskell" that
haskell.org links to is not a very useful introduction.
John and I should probably rename this document, since it really isn't a
very gentle intro at all. We should probably also downplay it's
Thanks to everyone for their comments regarding "GITH". I conclude
that:
-- it is useful to people who have previously programmed in Scheme
or some other functional language
-- it is a difficult read for those not familiar with FP concepts,
and certainly not appropriate for novice
One more thing: I'm happy to incorporate any tutorial material into
haskell.org. If you have material that would be appropriate please
let me know and I'll add it to the site. I know there are some very
good slides from Haskell courses that could be put into haskell.org.
The document sources
Paul Hudak wrote:
[snip]
So I suppose the main thing that John and I should think about is
changing the title. Something like "An Introduction to Haskell for
People Who Have Previously Programmed in Scheme or Some Other Functional
Language" might be good! :-)
"A Gentle Introduction to
Paul Hudak [EMAIL PROTECTED] wrote:
Thanks to everyone for their comments regarding "GITH". I conclude
that:
-- it is useful to people who have previously programmed in Scheme
or some other functional language
-- it is a difficult read for those not familiar with FP concepts,
and
| I think you can simplify the example. Given
|
| class HasFoo a b | a - b where
| foo :: a - b
| instance HasFoo Int Bool where ...
|
| Is this legal?
| f :: HasFoo Int b = Int - b
| f x = foo x
The theoretical foundation for functional dependencies goes back
On 03-Jan-2001, Mark P Jones [EMAIL PROTECTED] wrote:
... the best way to deal with this is (probably):
(i) to infer simpler types whenever possible, but
(ii) to allow more polymorphic types when they are requested by
means of an explicit type signature.
I agree.
(Incidentally, in
[Replies please cc me or the hugs-bugs list, as I currently is not on the
Haskell list.]
At 11:05 +0100 1-01-03, Atze Dijkstra wrote:
On http://www.cs.uu.nl/~atze/Programming/index.html a version of ghc
(4.08.1) and happy (still 1.8) for MacOS X/Darwin can be downloaded.
However, a few remarks do
I don't fully understand fundeps. Would the following transform
legal programs (without overlapping instances) into legal programs?
I hope yes.
Let's imagine a class with a set of instances and uses, without
fundeps.
- Add some additional type variables to the class header.
- Add a fundep: all
At 19:01 +0100 03/01/2001, Hans Aberg wrote:
- The MacOS X cc (c compiler) has some (blocking) bugs (for example,
problems with asm statements) which hinder progress.
Isn't this related to the "munging" that GHC makes use of on other platforms?
Apple's cc (actually gcc) does not accept 'asm'
On Wed, Jan 03, 2001 at 01:28:41AM -0800, Simon Peyton-Jones wrote:
Here's a suggestion: would someone like to write such a guide,
from the point of view of a beginner, leaving blanks that we can fill in,
when you come across a task or issue you don't know the answer
to? That is, you provide
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ketil Malde
Sent: Wednesday, January 03, 2001 8:28 AM
To: George Russell
Cc: [EMAIL PROTECTED]; i r thomas; [EMAIL PROTECTED]
Subject: Re: Learning Haskell and FP
George Russell [EMAIL PROTECTED]
A syntax to choose the active instances may be useful, too.
E.g.:
use EccenticOrd, SetCollection in exp
then in exp the instances EccenticOrd, SetCollection are known (or preferred).
This is similiar to the open syntax in Cayenne.
--
Stefan Karrmann
-Original Message-
From: Simon Peyton-Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 03, 2001 10:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Learning Haskell and FP
| PS: are the members of the list expecting to get replies by
| private mail?
The
On 03-Jan-2001, Eric Allen Wohlstadter [EMAIL PROTECTED] wrote:
When I try to compile hdirect on cygwin on my NT I get a lot of complaints
from ghc about bad tokens. Particularly the use of "\" to continue a
line. For some reason it doesn't see it as the line continuation
character.
You need
On Wed, 03 Jan 2001 11:26:53 -0500
Michael Zawrotny [EMAIL PROTECTED] wrote:
[snip]
The reason that I found GITH difficult wasn't that the
concept
of programming with functions/functional style was new to
me. What got me was that the concepts and notations were
much
more
22 matches
Mail list logo