On 7-Nov-07, at 5:14 PM, Joel Reymont wrote:
BridgeSupport [1] is new functionality in Leopard that makes the
current Haskell Objective-C bindings (HOC) obsolete (almost).
Almost here means about five to ten percent of the code ;-). If the
BridgeSupport files really contain all the
On 6-Nov-07, at 5:00 PM, Joel Reymont wrote:
It seems that the current approach taken by HOC is to strip
preprocessing directives.
True. Additionally, some of those strange macros are just interpreted
as language keywords by the parser.
I'm trying to figure out the easiest way to run CPP
Hi Wolfgang,
For some reason, GHCi now keeps launching every time I launch
Terminal.app, I can't even get a regular command line prompt now. I
had to uninstall all the files for GHCi manually from an X11 Xterm
to get a regular prompt. It still gets an error trying to launch
GHCi, but
Xavier Elizalde wrote:
Hi. I sent this post to the haskell-cafe mailing list but haven't
gotten any replies.
Ah well, I watch that list in digest mode only, easy to overlook things.
Basically, I can't get the Uninstall AppleScript for GHC 6.4.1to
run properly because it encounters an
I'm on Mac OS 10.4.2, using ghc 6.4 (from the haskell.org .dmg) and
gcc 4.0.0. Other wxHaskell programs (the samples and my own
experiments) compile without tripping over this.
GHC 6.4 is incompatible with gcc 4.0.0 when -O or -via-C is used.
You can work around this problem by either not
Also, IIRC, Java strings are supposed to be unicode, too -
how do they deal with the problem?
Files are represented by instances of the File class:
[...]
The documentation for the File class doesn't mention encoding issues
at all.
... which led me to conclude that they don't deal with the problem
Glynn Clements wrote:
OK, so the intermediate string will be nonsense if ISO-8859-1 isn't
the correct encoding, but that doesn't actually matter a lot of the
time; frequently, you're just grabbing a blob of data from one
function and passing it to another.
Yes. Of course, this also means that
Marcin Kowalczyk wrote:
Indeed, my brain is melting, but I did it :-)
Congratulations. How about we found a Bound-thread-induced brain melt
victims' support group?
[...] I have added some optimizations:
I think we had thought of most of these optimizations, but things were
already very complex,
I'm trying to understand the semantics and implementation of bound
threads
basing on the conc-ffi paper and others.
Since the main thread is bound, and unbound threads are never executed
on an OS thread which has some Haskell thread bound, this would imply
that when the main thread spawns a