Hi
I've been having a look at zippers over homogenous tree data types, and was
wondering how best to represent a heterogeneous graph for manipulation with a
zipper.
The main example of zippers I've been looking at is
http://okmij.org/ftp/Computation/Continuations.html#zipper-fs
and
http://okmij
Hello,
I am running ghc 6.4.1 on mac os X (10.4.5). Can anyone give me some
pointers for getting graphics functionality?
I have tried wxhaskell, but it gives me the error
HelloWorld.hs:4:0:
Failed to load interface for `Graphics.UI.WX':
Bad interface file: /usr/local/wxhaskell/lib/
On Fri, 24 Feb 2006, Marcin 'Qrczak' Kowalczyk wrote:
> Simon Marlow <[EMAIL PROTECTED]> writes:
>> I think the reason we set O_NONBLOCK is so that we don't have to test
>> with select() before reading, we can just call read(). If you don't
>> use O_NONBLOCK, you need two system calls to read/writ
On Thu, Feb 23, 2006 at 11:16:11AM +0100, Christian Maeder wrote:
> John Meacham wrote:
> >>> Identity y = Map.lookup x theMap
> >>These are potential runtime errors, that may be not so obvious to see in
> >>the source (ie. for user defined types) and even the compiler (ghc) does
> >>not emit
Simon Marlow <[EMAIL PROTECTED]> writes:
> I agree that a generic select/poll interface would be nice.
We must be aware that epoll (and I think kqueue too) registers event
sources in advance, separately from waiting, which is its primary
advantage over poll.
The interface should use this model b
Simon Marlow <[EMAIL PROTECTED]> writes:
> I think the reason we set O_NONBLOCK is so that we don't have to test
> with select() before reading, we can just call read(). If you don't
> use O_NONBLOCK, you need two system calls to read/write instead of
> one. This probably isn't a big deal, given
[EMAIL PROTECTED] wrote:
> Hello Graham,
>
> Wednesday, February 22, 2006, 12:57:39 PM, you wrote:
>
> GK> How to do this in a wiki, I'm not sure, though I don't take that to mean
> we
> GK> shouldn't try. I think the mediawiki mechanism you mention is reasonable
> if not
> GK> ideal, though t
John Meacham wrote:
Identity y = Map.lookup x theMap
These are potential runtime errors, that may be not so obvious to see in
the source (ie. for user defined types) and even the compiler (ghc) does
not emit a warning.
Indeed, that is the entire point of the construct. ghc definitly sho
[EMAIL PROTECTED] wrote:
Compare this notation:
f . g . h $ x
with the one you suggested:
f $ g $ h $ x
I suggested:
f . g $ h x
or
f $ g $ h x
Christian
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.has