perhaps this is related to these errors i get after my program runs for
a while (about 2 days):
I am guessing the no such protocol entry is because it cant open the
/etc/protocols file due to a lack of fds. it is almost as if file
descriptors are not being closed and leaking over time...
On Fri, Jan 03, 2003 at 03:06:48AM -0800, John Meacham wrote:
perhaps this is related to these errors i get after my program runs for
a while (about 2 days):
I am guessing the no such protocol entry is because it cant open the
/etc/protocols file due to a lack of fds. it is almost as if file
Hallo,
my question ist, how the seq operator is translated into the
GHC-core-language?
I had suspected, the core-language has a special strictness-operator, but I
saw, that this is not the case.
David Sabel
JWGU Frankfurt
___
Glasgow-haskell-users
seq a b = case a of { DEFAULT - b }
In Core, case is always strict.
| -Original Message-
| From: David Sabel [mailto:[EMAIL PROTECTED]]
| Sent: 03 January 2003 14:11
| To: [EMAIL PROTECTED]
| Subject: Translating seq into Core
|
| Hallo,
|
| my question ist, how the seq operator is
Thanks for that answer. I suggested something like that.
Can you explain me, how the Haskell-expression
case a of b - e (in Haskell, not strict, right?)
ist translated to Core?
seq a b = case a of { DEFAULT - b }
In Core, case is always strict.
| -Original Message-
|
let b=a in e
| -Original Message-
| From: David Sabel [mailto:[EMAIL PROTECTED]]
| Sent: 03 January 2003 15:22
| To: [EMAIL PROTECTED]
| Subject: Re: Translating seq into Core
|
| Thanks for that answer. I suggested something like that.
| Can you explain me, how the Haskell-expression
|
Hello, Is calling haskell from C from haskell possible? This is what
i tried (generated with green-card):
It ought to work. Instead of using Greencard (which only supports
Haskell-C) or the old _casm_ operation, I'd recommend using the new
foreign function interface.
Hi,
I'd like to be able to determine the percentage of allocated objects of a
particular type at specific points in a program's execution. I know that I
can use heap profiling to create a graph of memory usage broken down by type,
but is there any way to record this information at particular