Ashley Yakeley [EMAIL PROTECTED] wrote,
At 2001-09-20 19:32, Manuel M. T. Chakravarty wrote:
What I meant with the remark that you quote is that if you
would use
foreign import foo :: Ptr Int - IO Float
with
float foo (float *x)
{
return *x;
}
the system will not
Ashley Yakeley [EMAIL PROTECTED] wrote,
At 2001-09-21 01:39, Manuel M. T. Chakravarty wrote:
That's ok. All I am saying is that the FFI doesn't ensure
any concistency between the Haskell and the C type.
Well it can't can it? There's no type information in object-code symbols
(unless
Seems to me it would make more sense for the message
.hs:214: unterminated `{-'
message to tell me where the {- is, rather than where the EOF is.
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
At 2001-09-21 09:40, Marcin 'Qrczak' Kowalczyk wrote:
(apologies for the different spelling of finalize - apparently both are
correct and I randomly settled on the 'z' version some time ago).
I guess 's' is British and 'z' is American.
Chambers (of Cambridge, England) has both.
--
Ashley
The (Interactive) Glasgow Haskell Compiler -- version 5.02
We are pleased to announce a new major release of the Glasgow Haskell
Compiler (GHC), version 5.02.
Next Semester, I am supposed to teach a short course in Haskell.
Can anyone recommend interesting programming projects which can
be completed in about a month? Thank you very much.
apart from pure programming exercise
(see Haskell textbooks http://haskell.org/bookshelf/)
here are a few
Johannes Waldmann [EMAIL PROTECTED] writes:
Next Semester, I am supposed to teach a short course in Haskell.
Can anyone recommend interesting programming projects which can
be completed in about a month? Thank you very much.
apart from pure programming exercise
(see Haskell textbooks
Next Semester, I am supposed to teach a short course in Haskell.
Can anyone recommend interesting programming projects which can
be completed in about a month? Thank you very much.
This doesn't come from direct experience and you don't specify what the
students will already know, whether
Thu, 20 Sep 2001 13:32:54 +0100, Simon Marlow [EMAIL PROTECTED] pisze:
(:) is allowed in an export list; it is just a normal operator.
Not quite, it's a reservedop. Notice that a colon by itself, :,
is reserved solely for use as the Haskell list constructor; this
makes its treatment uniform
20 Sep 2001 12:37:36 -0600, Alastair David Reid [EMAIL PROTECTED] pisze:
Ah, I forgot that you can't export a constructor on its own.
You can't?
I probably knew this once but looking at it now, it seems kinda
surprising. Haskell's module system is supposed to be just namespace
First, a big thanks to those of you who immediately volunteered
to act as contact persons to their communities. That means that
five of the areas are already covered.
***
*** keep those contact offers coming!-) ***
A standard program I usually write to test out a new language is a
simple ray-tracer, the algorithms and theory are pretty easy, and you
can provide them with the low level vector manipulation code. I imagine
students also will enjoy the oprotunity to create pretty pictures.
John
On Fri,
It's hard to distinguish a constructor from a class in an
export list.
S
| -Original Message-
| From: Alastair David Reid [mailto:[EMAIL PROTECTED]]
| Sent: 20 September 2001 19:38
| To: Simon Marlow
| Cc: Ian Lynagh; [EMAIL PROTECTED]; [EMAIL PROTECTED]
| Subject: Re: Prelude and (:)
The (Interactive) Glasgow Haskell Compiler -- version 5.02
We are pleased to announce a new major release of the Glasgow Haskell
Compiler (GHC), version 5.02.
For simple networking, I usually find that the simple Socket interface
from hslibs does everything I need, except that I always need to import
sClose from SocketPrim as well, so I can close the sockets I open.
Tidying up some old code this morning, I was wondering: is the absence
of sClose in the
Chris Webb writes:
For simple networking, I usually find that the simple Socket interface
from hslibs does everything I need, except that I always need
to import
sClose from SocketPrim as well, so I can close the sockets I open.
Tidying up some old code this morning, I was wondering: is the
16 matches
Mail list logo