There is a new version of Djinn available, with two notable
new features: Haskell data types can be defined and the
found functions are sorted (heuristically) to present the
best one first.
To play with Djinn do a
darcs get http://darcs.augustsson.net/Darcs/Djinn
or get
http://darcs.augustsso
On Tue, Dec 13, 2005 at 06:08:23PM +, Joel Reymont wrote:
> Can this be done now or is this a GHC 6.5 feature?
>
> My combination of unsafePerformIO with atomically $ newTVar does not
> seem to be working.
Here is an example how you can initialize a top-level STM variable.
http://www.un
On Tue, 13 Dec 2005, Joel Reymont wrote:
> So it's just a matter of recompiling GHC and have it pick up new values?
Yes.
(It's a pity that the FD_SET macros aren't run-time configurable.)
Tony.
--
f.a.n.finch <[EMAIL PROTECTED]> http://dotat.at/
BISCAY: WEST 5 OR 6 BECOMING VARIABLE 3 OR 4.
So it's just a matter of recompiling GHC and have it pick up new values?
On Dec 13, 2005, at 6:11 PM, Tony Finch wrote:
FD_SETSIZE is actually dynamic on FreeBSD (at least from the kernel's
point of view - the macros are less so). You can re-set it to whatever
value you like at compile time (e.
On Tue, 13 Dec 2005, Joel Reymont wrote:
>
> It looks like 'ulimit -n' on FreeBSD lets you have 10k+ file descriptors open
> per process. FD_SETSIZE is 1024 in the system headers, though. GHC relies on
> this value (see ghc/rts/Select.c).
FD_SETSIZE is actually dynamic on FreeBSD (at least from th
Can this be done now or is this a GHC 6.5 feature?
My combination of unsafePerformIO with atomically $ newTVar does not
seem to be working.
Thanks, Joel
P.S. What is the ETA for 6.5?
On Mon, Dec 05, 2005 at 10:50:13AM -, Simon Peyton-Jones wrote:
>
> It turns out to be e
Folks,
I need some help from those of you with a FreeBSD box.
It looks like 'ulimit -n' on FreeBSD lets you have 10k+ file
descriptors open per process. FD_SETSIZE is 1024 in the system
headers, though. GHC relies on this value (see ghc/rts/Select.c).
Normally, you will get the EMFILE erro
Hello Joel,
Tuesday, December 13, 2005, 3:04:11 PM, you wrote:
JR> How is your library licensed?
is costs many megabucks because it's very complex proprietary design
where some functions reach whole 12 lines! :)
of course, you can do what you want with this library. may be the
better way is to w
BTW, there has already been some work in this area.
http://www-i2.informatik.rwth-aachen.de/~stolz/dhs/
http://www.informatik.uni-kiel.de/~fhu/PUBLICATIONS/1999/ifl.html
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mai
On Mon, 12 Dec 2005, Bulat Ziganshin wrote:
Hello
sometimes, Eq/Ord classes can't be derived automatically because we
need to comare only part of fields. in such situations i use the
following trick to easify generation of class instances:
data ArchiveBlock = ArchiveBlock {
From: Daniel Fischer <[EMAIL PROTECTED]>
To: "Branimir Maksimovic" <[EMAIL PROTECTED]>
CC: Haskell-Cafe@haskell.org
Subject: Re: [Haskell-cafe] Substring replacements
Date: Tue, 13 Dec 2005 11:23:29 +0100
Am Montag, 12. Dezember 2005 16:28 schrieben Sie:
> From: Daniel Fischer <[EMAIL PROTECT
Bulat,
How is your library licensed?
How can a process maintain internal state?
How would I use your library to code a socket reader/writer that
writes received events to the socket and propagates back anything
that is received?
The producer/consumer in front of this network client would
Thank you Bulat, makes total sense. This list is a treasure trove of
a resource.
I guess this is what happens when you go from Erlang to Haskell :-).
I'm conditioned to think of everything as a process and uses
processes for everything.
On Dec 13, 2005, at 11:17 AM, Bulat Ziganshin wrote:
This is a forwarded message
From: Bulat Ziganshin <[EMAIL PROTECTED]>
To: haskell@haskell.org
Date: Thursday, December 08, 2005, 1:36:05 AM
Subject: [Haskell] ANNOUNCE: Process library (for dataflow-oriented
programming?)
===8<==Original message text===
Hello haskell,
Joe
Hello Joel,
Tuesday, December 13, 2005, 1:05:10 PM, you wrote:
>> are you read dewscription of my own Process library in haskell
>> maillist?
JR> No. Can you give me a pointer?
i will forward it to you. it have meaning to be subcribed there, just
to see interesting announcements
>> btw, i sugge
I thought this would be of interest to the Haskell community:
http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=330
"The ever-growing popularity of small multiprocessors is exposing
more programmers to parallel hardware. More tools to spot correctness
and performance problems
Am Montag, 12. Dezember 2005 16:28 schrieben Sie:
> From: Daniel Fischer <[EMAIL PROTECTED]>
>
> >To: "Branimir Maksimovic" <[EMAIL PROTECTED]>
> >CC: Haskell-Cafe@haskell.org
> >Subject: Re: [Haskell-cafe] Substring replacements
> >Date: Mon, 12 Dec 2005 16:15:46 +0100
> >
> >Earlier today:
> > >
Hello Tomasz,
Tuesday, December 13, 2005, 12:49:04 PM, you wrote:
TZ> On Mon, Dec 12, 2005 at 04:00:46PM +, Joel Reymont wrote:
>> One particular thing that bugs me is that I cannot really use TChan
>> for thread mailboxes. I don't think I experienced this problem with
>> Erlang but using
On Dec 13, 2005, at 9:49 AM, Tomasz Zielonka wrote:
On Mon, Dec 12, 2005 at 04:00:46PM +, Joel Reymont wrote:
One particular thing that bugs me is that I cannot really use TChan
for thread mailboxes. I don't think I experienced this problem with
Erlang but using a TChan with a logger threa
Yes, you are right. I will make the change.
On Dec 13, 2005, at 9:28 AM, Bulat Ziganshin wrote:
yes, you are muistaken! :) this code will repeat permanently until
exception arrived. at this time it will process exception handler and
then exit the whole function. you musr reread docs. hmm, actu
On Dec 13, 2005, at 1:13 AM, Bulat Ziganshin wrote:
are you read dewscription of my own Process library in haskell
maillist?
No. Can you give me a pointer?
btw, i suggested you to try not using logging thread entirely, making
all logging actions synchronously
I cannot. Only one thread can
Hello Einar,
Monday, December 12, 2005, 5:01:20 PM, you wrote:
EK> 3) Using System.Posix.IO
EK> Using the fd{Read,Close,Write} functions from System.Posix.IO
EK> could solve the problem - except that there is no way to
EK> write binary buffers (Ptr Word8) with the API. Thus no
EK> solution.
you
On Mon, Dec 12, 2005 at 04:00:46PM +, Joel Reymont wrote:
> One particular thing that bugs me is that I cannot really use TChan
> for thread mailboxes. I don't think I experienced this problem with
> Erlang but using a TChan with a logger thread quickly overwhelms the
> logger and fills t
Hello Joel,
Monday, December 12, 2005, 7:26:23 PM, you wrote:
JR> Unless I'm mistaken, the code above will run forever and will not
JR> exit on exception.
yes, you are muistaken! :) this code will repeat permanently until
exception arrived. at this time it will process exception handler and
the
Hello Joel,
Monday, December 12, 2005, 7:00:46 PM, you wrote:
JR> 1) Processes, aka threads with single-slot in/out mailboxes
are you read dewscription of my own Process library in haskell
maillist?
JR> One particular thing that bugs me is that I cannot really use TChan
JR> for thread mailboxes
Hello
sometimes, Eq/Ord classes can't be derived automatically because we
need to comare only part of fields. in such situations i use the
following trick to easify generation of class instances:
data ArchiveBlock = ArchiveBlock {
blArchive :: Archive
26 matches
Mail list logo