Hello,
In GHC 5.02 on Sun Solaris (binary package), running 'ghc-5.02 -c
-fglasgow-exts Test.hs' and Test.hs containing the following code:
module Test where
bimapGRose __ff __a = ((to ((bimapEP epGRose) epGRose))
((bimapGRose__ __ff) __a))
Gives the following panic message:
| ghc-5.02:
At 2001-10-10 01:19, I wrote:
foreign import foo raw_foo :: Ptr () - IO (Ptr ());
foo :: Ptr SomeLinkedList - IO (ConstPtr Char);
foo = importFunction raw_foo;
Actually I don't need to convert the pointers, do I? If I have (Storable
SomeLinkedList), I can just declare
foreign
I am trying to build a Haskell COM component with HDirect (from
http://www.galconn.com/~sof/hdirect-0.18-src.tar.gz) and ghc 5.02. I have
problems generating the type library: it is simply not created. Even the
comserv example is not working because of the same problem. Could that be a
bug in
Is the posix library (-package posix) supposed to be supported on
Windows? If not (as I expect to have confirmed), what are the
alternatives for process control on Windows?
Dean
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
Hi Patrick.
This is probably because you need to build HDirect in two stages - once
without typelibrary support, and once with. Here is the process I used to
build HDirect 0.17 with ghc 4.08 under NT (much is probably irrelevant as I
think some of these problems have been sorted by Sigbjorne):
If I open a file using openFile from the IO module
(x - openFile foo.txt ReadMode)
and convert it to a String via hGetContents
(y - hGetContents x)
and finally try to print the file on the screen
(putStrLn y)
I'll get a strange result if the file contains the character 1A-hexadecimal
(or
Sorry for the pollution.
Is there a way to kill the guys from: @bid4placement.com ?
They managed already 3 times to block my mailer with their HTML,
via Haskell list.
Jerzy Karczmarczuk
Caen, France
___
Haskell mailing list
[EMAIL PROTECTED]
09 Oct 2001 13:55:04 -0700, Carl R. Witty [EMAIL PROTECTED] pisze:
The TREX paper from Mark Jones and Benedict Gaster (I hope I
have the names right) had both extensible records and extensible
variants (extensible variants being what you would need to implement
downcasts),
I don't think so.
Tue, 9 Oct 2001 14:59:09 -0700, John Meacham [EMAIL PROTECTED] pisze:
I think a cannonical way to get at iconvs ('man 3 iconv' for info.)
functionality in one of the standard librarys would be great. perhaps
I will have a go at it. even if the underlying platform does not have
iconv then
I think one important aspect of Java's java.foo.bar style has been
overlooked: the semantics. sure, syntactivally, java.foo.bar and
java_foo_bar; they're basically the same. the big issue (to me, at
least) is that the Java compiler knows how to interpret the .s and
will use them to navigate
On Wed, 10 Oct 2001, Hal Daume III wrote:
(snip)
least) is that the Java compiler knows how to interpret the .s and
will use them to navigate directory structure.
(snip)
Yes, that's certainly an interesting idea. I'd like to fall short of
mandating anything about location of source files in
Marcin 'Qrczak' Kowalczyk [EMAIL PROTECTED] writes:
09 Oct 2001 13:55:04 -0700, Carl R. Witty [EMAIL PROTECTED] pisze:
The TREX paper from Mark Jones and Benedict Gaster (I hope I
have the names right) had both extensible records and extensible
variants (extensible variants being what
So, barring this, I'm curious how other people handle this issue.
I have multiple projects. Call them A, B, C. They are in directories:
~/projects/A
~/projects/B
~/projects/C
repsectively.
Say I'm creating a new project, D, in ~/projects/D that uses code that
I've written in packages A,
Oops!
I said THIH has problems with type synonyms. That is completely wrong.
I meant type SIGNATURES and nothing else. Sorry for the confusion.
/kff
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
There are a couple things to do that can at least cut down on spam.
1) Make sure that your mail gateway, or (in this case) the mailing
list host is not an open relay site. Check
http://www.mail-abuse.net/
and especially
http://www.mail-abuse.net/rss/
for more information.
At 2001-10-10 03:59, Marcin 'Qrczak' Kowalczyk wrote:
We need some type T such that it's possible to define a family of
functions for arbitrary choices of A:
upA :: A - T
downA :: T - Maybe A
satisfying downA (upA a) = Just a. We want to choose the type for T
before deciding the exact
On Wed, Oct 10, 2001 at 03:29:03PM -0400, Hal Daume III wrote:
So, barring this, I'm curious how other people handle this issue.
I have multiple projects. Call them A, B, C. They are in directories:
~/projects/A
~/projects/B
~/projects/C
repsectively.
Say I'm creating a new
On Wednesday, October 10, 2001, at 12:29 PM, Hal Daume III wrote:
So, barring this, I'm curious how other people handle this issue.
I have multiple projects. Call them A, B, C. They are in directories:
~/projects/A
~/projects/B
~/projects/C
repsectively.
Say I'm creating a new
On Wed, 10 Oct 2001, Johan Nordlander wrote:
Using the new hirarchical module namespace soon to be supported
by both Hugs and GHC:
Set the search path to ~/projects and import A.M, B.N, etc.
The only additional requirement here is that your module M in A
must be renamed A.M, and so
jefu [EMAIL PROTECTED] writes:
2) Every time you get spam, locate all the hosts it came through
in the header. Check both hostnames and ip addresses as one
of the common spammer techniques is to give a different hostname
than the ip address maps to.
Note that spammers add dummy
On 10 Oct 2001, Ketil Malde wrote:
Mark Carroll [EMAIL PROTECTED] writes:
On Tue, 9 Oct 2001, Ashley Yakeley wrote:
At 2001-10-09 11:55, Mark Carroll wrote:
What is the rationale for when Haskell demands a = and when it
demands a -?
Okay, I can't give you anything formal, but
On Wed, 10 Oct 2001, D. Tweed wrote:
degenerate equality you get from defining the lhs in terms of the rhs. The
- is used whenever you've got something on the right that `leads to' to
^left
something on the left, eg
On Wed, 10 Oct 2001 11:20:43 +1300 Brian Boutel [EMAIL PROTECTED]
wrote:
Iavor S. Diatchki wrote:
hello,
Why aren't instance declarations handled by the module system like
every other symbol, so that a module can decide when to import an
instance declaration and when to export
On Wed, 10 Oct 2001, Mark Carroll wrote:
On 10 Oct 2001, Ketil Malde wrote:
(snip)
function definitions. Perhaps one could have had a syntax like
z a =
| a == 1 - 1
| a == 2 - 3
instead, as it'd make it more consisten with the case, but I suppose
24 matches
Mail list logo