Simon Marlow wrote:
On Mon, Mar 17, 2003 at 10:33:47AM +, Ross Paterson wrote:
GHC doesn't recognize literals like 9e2, and nor does lex.
Correction:
GHC doesn't recognize 9e2
lex is confused by 0xy, 0oy, 9e+y and 9.0e+y
Fixed GHC, I'll leave lex to someone more
I'm trying to build ghc-5.04.3 from source on a sparc-solaris-2.6
machine, using 5.02.3. It throws up the following build error.
Any ideas what might be going wrong?
/tmp/ghc11170.hc: In function `SystemziTime_zdLrpHVeta_entry':
/tmp/ghc11170.hc:10508: called object is not a function
If it
I'm trying to build ghc-5.04.3 from source on a sparc-solaris-2.6
machine, using 5.02.3. It throws up the following build error.
Any ideas what might be going wrong?
/tmp/ghc11170.hc: In function `SystemziTime_zdLrpHVeta_entry':
/tmp/ghc11170.hc:10508: called object is not a function
_ccall_result = (timezone()); /* line 10508 */
What does mk/config.h say about HAVE_ALTZONE? On a Solaris 8 box I'm
looking at it says HAVE_ALTZONE is defined.
$ grep ZONE mk/config.h
/* #undef HAVE_ALTZONE */
/* #undef HAVE_TIMEZONE */
#define TYPE_TIMEZONE
* Malcolm Wallace [EMAIL PROTECTED] [2003-03-19T14:33+]:
Anyway, I changed mk/config.h to add
#define HAVE_ALTZONE
#define HAVE_TIMEZONE
and received the same error. I will now `make clean' and rebuild from scratch,
to see if it makes any difference.
You may have to copy (and
With ghc 5.04.2 I'm having some trouble linking (debian linux).
Here's the error I get:
/home/bjpop/woo/lib/buddha-0.5/libbuddha_p.a(Partial.o):
In function `s1jZ_fast1':
Partial.o(.text+0xa44): undefined reference to
`GHCziPrim_zdwZ2H_entry'
Ok, could you help us out by
This should compile, shouldn't it?
-- ghc -c -fglasgow-exts TestInfer.hs
module TestInfer where
{
class C t a b | t a - b;
instance C Char a Bool;
data P t a = forall b. (C t a b) = MkP b;
data Q t = MkQ (forall a. P t a);
f' :: Q Char;
f' = MkQ (MkP True ::
Peter,
[...]
After processing a random number of connections, the server dies with
Fail: invalid argument
Action: accept
Reason: Invalid argument
[...]
I don't know what's wrong, I'm afraid. Any chance you could supply us
with a working example that demonstrates the bug?
Cheers,
Alistair,
I can't find advice in the GHC manual on determining how much
time your
program spends in Prelude functions. I've discovered that I
can alias a
Prelude function e.g.
import Data.Set
myMkSet = mkSet
... which will give me a cost-centre for mkMySet. Isn't there
In local.glasgow-haskell-users, you wrote:
After processing a random number of connections, the server dies with
Fail: invalid argument
Action: accept
Reason: Invalid argument
[...]
I don't know what's wrong, I'm afraid. Any chance you could supply us
with a working example that
At 18:42 18/03/2003 -0800, [EMAIL PROTECTED] wrote:
Example: I wish to define a structured container type, let's call it a
RatsNest, that is type-variable in two ways:
[...]
Do you consider the standard design lacking? For example,
I wasn't aware there was a standard design, but you have given
I am planning a Haskell project and I need to access files. Since the
program will be automatically started whenever a mail comes in I will need
to be able to lock the access to files. Is there any support for this in
some library?
The second option that I have is to use a daemon and let the
On 17-Mar-2003 Simon Peyton-Jones wrote:
| there is no need to use such hacks. it is not dificult to add suport
| for mutually recursive modules to an implementation directly.
| unfortunatley none of the working haskell implementations support
| recursive modules,
Simple in principle, not
Simon Peyton-Jones [EMAIL PROTECTED] writes:
Nothing deep. GHC is just a fairly big thing and one of its
assumptions is that it is compiling one module at a time. There'd
be quite a bit of chuffing around to remove this assumption.
Nothing fundamental, but real work.
The other big problem
I am planning a Haskell project and I need to access files. Since the
program will be automatically started whenever a mail comes
in I will need
to be able to lock the access to files. Is there any support
for this in some library?
Yes, the Posix library distributed with GHC has support
hi,
Alastair Reid wrote:
Simon Peyton-Jones [EMAIL PROTECTED] writes:
Nothing deep. GHC is just a fairly big thing and one of its
assumptions is that it is compiling one module at a time. There'd
be quite a bit of chuffing around to remove this assumption.
Nothing fundamental, but real work.
Hello,
a first draft of my little Haskell-history collection is online now:
http://pseiko.gmxhome.de/pseiko/Haskell-History.html
Please note, that one part is still just copied from
http://www.idt.mdh.se/kurser/cd5100/ht02/history.html
but I hope it will evolve quickly. Moreover some parts
17 matches
Mail list logo