Ross Paterson wrote:
[...] The text you've used is also spread across the manpages included
in the glut tarball.
I wasn't aware of that.
Assuming that makes the manpages part of libglut, they would be covered
by the permission Michael Weber mentioned:
And while we are at this thrilling topic: I'm using the man pages from
SGI's OpenGL sample implementation (SI) as a basis for the documentation of
the OpenGL part. This is in accordance to SGI's license
http://oss.sgi.com/projects/FreeB/
which was confirmed by Jon Leech (see below). The only
How is it possible that an unused import warning is not always emitted?
Below I get a warning when I recompile everything, but no warning when I
only recompile the Main module (that contains the unused import). In
fact Main.hi changes.
Cheers Christian
Compiling GUI.ConvertDevToAbstractGraph
How is it possible that an unused import warning is not
always emitted?
Below I get a warning when I recompile everything, but no
warning when I
only recompile the Main module (that contains the unused import). In
fact Main.hi changes.
It could be a bug, but we'll need to reproduce it
Yes, examples/ie-listen/ in the HDirect distrib demonstrates
how to sink events (from IE, in that particular example.)
--sigbjorn
[btw, the CVS version of HDirect was updated a while ago to
work with current versions of GHC Hugs.]
- Original Message -
From: Paul Steckler [EMAIL
In article [EMAIL PROTECTED],
Wolfgang Thaller [EMAIL PROTECTED] wrote:
A Mac OS X installer package is now available at
http://www.uni-graz.at/imawww/haskell/GHC.5.04.3.dmg
It includes profiling libraries (this time, they should work), but not
the documentation (use the online docs
http://research.microsoft.com/~simonpj/papers/hmap/
The technique you describe in that paper is exactly what I was
wanting for many times. I often stopped using algebraic data types
because of the immense amount of boilerplate I had to introduce.
Thanks!
But now I have a question regarding
Interestingly, when I want hugs to show me the type
of
fun::(forall a.[a]-Int)-[b]-[c]-Int
it tells me: ERROR - Use of fun requires at least 1 argument
Why that? At least I have explicitely specified the type.
Hmm, ghci behaves properly.
But using hugs I get the same error :-(.
No idea!
Thanks! These examples and counterexamples help a lot
in understanding.
Markus
The reason is that sum only works on integer lists, whereas the given
type for fun requires that the first argument be a function that works
on lists of any type, such as length.
If sum were allowed as argument
Hello!
The paper
http://research.microsoft.com/~simonpj/papers/hmap/
by Ralf Laemmel and Simon Peyton Jones gave a reference
implementation of a 'cast' function. Here's another implementation:
cast:: (Show a, Read b) = a - Maybe b
cast = read_as . show
where
read_as s =
Niall Dalton writes:
| Hi,
|
| Its been a while since I've been using Haskell seriously, so I might simply
| have overlooked the answer..
|
| Is there an arbitrary precision real number library available for Haskell?
| IIRC, atleast GHC uses the GMP library, but only for integers?
Hi.
This is getting off-topic, but...
I don't like this solution at all :). It is very dependent on read being
a true inverse of show, which isn't always the case. Perhaps more
importantly though, I don't like the fact that it will readily convert
between Int and Float, etc. For instance, in
Hi every one !
I have a big problem with implementation the
Dijkstra's shortest path with Haskell .the condition
is it must be implemented with priority queue using
list (or tree).Any of yo have the code for this ? I
really
really needs for help !!!
thank a lot!!
pham
13 matches
Mail list logo