Hello Vyacheslav,
Monday, October 23, 2006, 7:20:47 AM, you wrote:
> Bulat: I didn't get the chance to use the streams library yet, but
> could you explain how it would solve my locking problem? The core
> problem that the runtime under Win32 doesn't have an IO manager still
> remains, correct?
Repost, seems to have been lost last week:
Am Dienstag, 17. Oktober 2006 12:35 schrieb Simon PJ:
> What timing? Can you be more explicit pls?
>
Just plain old
:set +s
in ghci:
[EMAIL PROTECTED]:~/Downloads/Euler> ghci Euler44
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | |
John Meacham wrote:
On Fri, Oct 20, 2006 at 10:38:39AM +0100, Simon Marlow wrote:
I'm not sure that -funbox-strict-fields always improves performance, even
if you only do it on Ints for example. If you end up pulling out those
fields and passing the Int to a lazy function, the Int will be re-
Juan Carlos Arevalo Baeza wrote:
I tried recompiling a little (big?) Win32 binding library I had made,
when the official one wasn't working for me. It had a bunch of generated
stubs files in it (I'm not 100% sure what they are for). The problem is
that, not even with -fforce-recomp (much bett
Hi all,
I just installed GHC 6.6 using the PPC binary installer on Mac OS X.
I'm having some trouble getting debuggers to work; I have tried both
plargleflarp (buddha) and Hat. Neither of them will compile on GHC
6.6 on Mac yet.
For anyone in the same situation, how do you survive? I know o
Bulat Ziganshin wrote:
Hello Vyacheslav,
Monday, October 23, 2006, 7:20:47 AM, you wrote:
Bulat: I didn't get the chance to use the streams library yet, but
could you explain how it would solve my locking problem? The core
problem that the runtime under Win32 doesn't have an IO manager still
Donald Bruce Stewart wrote:
bulat.ziganshin:
Hello Donald,
Sunday, October 22, 2006, 9:04:02 AM, you wrote:
can't you define this call as 'safe'?
But is it safe. Hmm I get kind of queasy when mucking about in the rts.
i don't understand you (because of my weak English).
'safe' spe
Simon Marlow wrote:
Bulat Ziganshin wrote:
Hello Vyacheslav,
Monday, October 23, 2006, 7:20:47 AM, you wrote:
Bulat: I didn't get the chance to use the streams library yet, but
could you explain how it would solve my locking problem? The core
problem that the runtime under Win32 doesn't hav
Hello.
I just move a larger project to ghc-6.6 (from 6.4)
http://dfa.imn.htwk-leipzig.de/auto/ (ca. 1000 modules)
I had to modify my sources in several places.
Perhaps the following list of observations is useful.
tools:
cabal/ghc work nicely, including building for profiling
and haddockument
Hello Simon,
Monday, October 23, 2006, 5:05:56 PM, you wrote:
> Perhaps your bug is that you're using hGetBufNonBlocking, which isn't on
> Windows?
_whose_ bug? you write to Simon Marlow :)
and what is you explanation why Vyacheslav's programs using getLine
does block?
--
Best regards,
Bu
Bulat Ziganshin wrote:
Hello Simon,
Monday, October 23, 2006, 5:05:56 PM, you wrote:
Perhaps your bug is that you're using hGetBufNonBlocking, which isn't on
Windows?
_whose_ bug? you write to Simon Marlow :)
Sorry - let me rephrase that: perhaps the problem is that hs-plugins uses
hGe
Simon Marlow wrote:
Juan Carlos Arevalo Baeza wrote:
I tried recompiling a little (big?) Win32 binding library I had
made, when the official one wasn't working for me. It had a bunch of
generated stubs files in it (I'm not 100% sure what they are for).
The problem is that, not even with -ffo
Another one: library change: the HasBounds class is gone.
JCAB
Johannes Waldmann wrote:
Hello.
I just move a larger project to ghc-6.6 (from 6.4)
http://dfa.imn.htwk-leipzig.de/auto/ (ca. 1000 modules)
I had to modify my sources in several places.
Perhaps the following list of observations
Juan Carlos Arevalo Baeza wrote:
Simon Marlow wrote:
Juan Carlos Arevalo Baeza wrote:
I tried recompiling a little (big?) Win32 binding library I had
made, when the official one wasn't working for me. It had a bunch of
generated stubs files in it (I'm not 100% sure what they are for).
The
On 10/19/06, Simon Marlow <[EMAIL PROTECTED]> wrote:
See this page that I just created:
http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX
I tried these instructions, first by using my existing (darwinports)
readline in /opt/local, and when that failed by first installing
readline in /us
I tried compiling a file today using -O2, and it gave me this:
/tmp/ghc10376_0/ghc10376_0.hc:5:20:
HsTime.h: No such file or directory
It compiled fine without the -O2. Am I missing some files? Where can I
find what I need to make this work again?
Thanks,
--
Chad Scherrer
"Time flies lik
On Mon, Oct 23, 2006 at 01:06:48PM +0100, Simon Marlow wrote:
> Right, this occurred to me too. Alternatively we could have the strictness
> analyser represent a strict enumeration by Int# (I believe there's a ticket
> for this).
>
> I think when we discussed this for GHC the conclusion was tha
Thinking to take advantage of fortuitous heap layout of some Haskell
values for interfacing with C, I've written the following function:
addressOf :: a -> Ptr ()
addressOf x = x `seq` unsafeCoerce# (Box x)
data Box x = Box x
For example,
data A = A {-# UNPACK #-} !(Ptr Word8) {-# UNPACK #-} !C
Michael Marte wrote:
>
> Hello *,
>
> before filing a bug report, I want others to comment on my problem.
> Maybe it's my fault, not ghc's.
>
> I wrapped up some Haskell modules in a Win32 DLL.
> Loading the DLL dynamically (with LoadLibrary) works fine. However,
> whether I actually use the
I am not sure if you can't use them for some reason, but this sounds
like exactly the problem that stable pointers are meant to solve:
http://haskell.org/ghc/docs/latest/html/libraries/base/Foreign-StablePtr.html
John
--
John Meacham - ⑆repetae.net⑆john⑈
_
On Mon, Oct 23, 2006 at 06:43:26PM -0700, Brandon Moore wrote:
> A different and in all likelihood saner approach is building up more
> tools for manipulating pointers to C data from Haskell, perhaps along
> the lines of cmucl's support for "Alien Objects".
> http://www.math.sunysb.edu/~sorin/onl
John Meacham wrote:
I am not sure if you can't use them for some reason, but this sounds
like exactly the problem that stable pointers are meant to solve:
http://haskell.org/ghc/docs/latest/html/libraries/base/Foreign-StablePtr.html
Which problem? Mostly, I noticed that evaluated Haskell valu
22 matches
Mail list logo