| Normally after a retry the STM block is rolled back and put to sleep and will
| only be awakened and re-executed if one of the STM variables it had read from
is
| committed to by a different STM block.
The *semantics* are that it is retried anytime in the future. The *pragmatics*
are as you
Hello Benjamin,
Monday, November 27, 2006, 1:46:34 AM, you wrote:
I hate to be nitpicking but GPL is not only compatible with but encourages
commerce in general and commercial software in particular. It is
incompatible with proprietary software. There's a difference.
of course, but on
Hello Max,
Monday, November 27, 2006, 10:04:15 AM, you wrote:
A small addition: some GPLed libraries (libstdc++ AFAIK) allow
linking with proprietary software by adding clause to lisence
which relaxes GPL requirements.
a GPL license text is the same for any GPLed software, otherwise it
Hi,
I've seen that guide before and followed the suggestions in there but
somehow I missed the -funfolding-use-threshhold option. After setting
it to 24 the code now runs about 2-3 times slower than C which is a
significant improvement from a factor of 10.
Thanks :)
Ivan
On 27/11/2006,
Hello,
I was recently reminded by
http://haskell.org/haskellwiki/How_to_write_a_Haskell_program that you
should announce your haskell projects!
About a year ago I started converting the (somewhat) famous NeHe
tutorials for OpenGL to HOpenGL. I have created a darcs repository
for anyone
Hallo,
On 11/27/06, Max Vasin [EMAIL PROTECTED] wrote:
A small addition: some GPLed libraries (libstdc++ AFAIK) allow
linking with proprietary software by adding clause to lisence
which relaxes GPL requirements.
Nope, it's LGPL with an extra binary linking permission.
Cheers,
--
-alex
Implicit parameters have monotypes, not polytypes. So ?f in g gets type
(Char-Char). I rather doubt that something more general (implicit parameters
get polytypes) would work, given the implicit improvement rules that implicit
parameters require.
Simon
| -Original Message-
| From:
I can say neither that I have any idea what an 'undead array' is nor
that I would really understand the code you've posted. On the positive
side of things, you've given me a lot to think about. Maybe in the
fullness of time I shall return and say 'Lo! I can write leakless
Haskell code!'. But alas,
Ian Lynagh wrote:
I'm also unable to reproduce this. Can you tell us exactly what
commandline you are using to compile and run the program please?
In fact it turned out that the example code I posted did not exhibit the
memory leak at all. It just took a /very long time/ to complete
(compared
Bulat == Bulat Ziganshin [EMAIL PROTECTED] writes:
Bulat Hello Max,
Hello,
Bulat Monday, November 27, 2006, 10:04:15 AM, you wrote:
A small addition: some GPLed libraries (libstdc++ AFAIK) allow
linking with proprietary software by adding clause to lisence
which relaxes GPL requirements.
In fact it turned out that the example code I posted did not exhibit the
memory leak at all. It just took a /very long time/ to complete
(compared to a Java version), but it did complete. My complete code,
which also counted the instances of a given number from the array, does
however exhibit the
Ok, I'm not sure I understand the answer here, but how about a
workaround. My current code looks like this:
tt = let ?withPassNet=wpn
?withPassNet'=wpn
?withPassNet''=wpn
in passNet passnet [user] regImpl b
The type of wpn is:
wpn :: Ev PassNet ev a - Ev
nor that I would really understand the code you've posted. On the positive
side of things, you've given me a lot to think about. Maybe in the
fullness of time I shall return and say 'Lo! I can write leakless
Haskell code!'. But alas, that time seems so distant now.
I tried to show how the
Can I use cabal to build packages that incorporates C libraries and FFI
Haskell created using c2hs?
Any pointers on how to do that?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus
Hi,
i've one fuction receiving an int . The objective is return the respective
binary code of that int.
For example, if i receive 28 the fuction will return 011100.
My question is that there is any fuction in libraries that do this?
If not, anyone has any suggestion?
Thank you.
--
View this
Hello,
First, and forgive me if I'm making unwarranted assumptions, but
http://haskell.org/haskellwiki/Homework_help might be useful.
Second: div, mod, reverse, and the unfoldr function from Data.List
will do what you want.
/g
On 11/25/06, escafia [EMAIL PROTECTED] wrote:
Hi,
i've one
On Mon, 2006-11-27 at 22:26 +, Magnus Therning wrote:
Can I use cabal to build packages that incorporates C libraries and FFI
Haskell created using c2hs?
Yes you can. Cabal understands a bit about .chs files. I think all you
need to do is specify the module in the exposed-modules or
On 28.11.2006 01:20 J. Garrett Morris wrote:
Hello,
First, and forgive me if I'm making unwarranted assumptions, but
http://haskell.org/haskellwiki/Homework_help might be useful.
Second: div, mod, reverse, and the unfoldr function from Data.List
will do what you want.
/g
On 11/25/06, escafia
On Mon, Nov 27, 2006 at 06:20:15PM -0600, J. Garrett Morris wrote:
First, and forgive me if I'm making unwarranted assumptions, but
http://haskell.org/haskellwiki/Homework_help might be useful.
On 11/25/06, escafia [EMAIL PROTECTED] wrote:
i've one fuction receiving an int . The objective is
escafia [EMAIL PROTECTED] writes:
Hi,
i've one fuction receiving an int . The objective is return the respective
binary code of that int.
For example, if i receive 28 the fuction will return 011100.
In GHCi,
Prelude Numeric.showIntAtBase 2 (head . show) 28 $
11100
My question is that
Bulat Ziganshin wrote:
Monday, November 27, 2006, 1:46:34 AM, you wrote:
I hate to be nitpicking but GPL is not only compatible with but
encourages commerce in general and commercial software in particular. It
is incompatible with proprietary software. There's a difference.
of course, but
S. Alexander Jacobson wrote:
Ok, I'm not sure I understand the answer here, but how about a
workaround. My current code looks like this:
tt = let ?withPassNet=wpn
?withPassNet'=wpn
?withPassNet''=wpn
in passNet passnet [user] regImpl b
The type of
trevion:
Hello,
First, and forgive me if I'm making unwarranted assumptions, but
http://haskell.org/haskellwiki/Homework_help might be useful.
Yes, almost certainly this is the case. The same questions were asked on
#haskell at pretty much the same time...
15:54:34 --- join:
Redirected to haskell-cafe@haskell.org, the right list.
-- Don
- Forwarded message from Louis-Julien Guillemette [EMAIL PROTECTED] -
Date: Mon, 27 Nov 2006 16:15:26 -0500 (EST)
From: Louis-Julien Guillemette
Subject: [Haskell] polymorphism and existential types
Supposing a polymorphic
Hi all,
i'm having a bit of difficulty using GHCi to try out HXT.
i brought the Text.XML.HXT.Arrow module into scope using :m. Then i entered:
let contact = mkelem stream:stream [ sattr xmlns:stream
http://etherx.jabber.org/streams;, sattr xmlns jabber:client, sattr to
livejournal.com
25 matches
Mail list logo