[Haskell-cafe] Re: HOC is dead! Long live HOC!

2007-11-07 Thread Wolfgang Thaller
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

[Haskell-cafe] Re: CPP, Leopard and Haskell Objective-C bindings

2007-11-06 Thread Wolfgang Thaller
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

Re: [Haskell-cafe] Re: Can't uninstall GHC or prepare SOE installation on OS X

2006-03-11 Thread Wolfgang Thaller
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

[Haskell-cafe] Re: Can't uninstall GHC or prepare SOE installation on OS X

2006-03-08 Thread Wolfgang Thaller
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

[Haskell-cafe] Dread __DISCARD__

2005-09-17 Thread Wolfgang Thaller
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

Re: [Haskell-cafe] invalid character encoding

2005-03-19 Thread Wolfgang Thaller
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

Re: [Haskell-cafe] invalid character encoding

2005-03-18 Thread Wolfgang Thaller
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

Re: [Haskell-cafe] Re: Bound threads

2005-03-02 Thread Wolfgang Thaller
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,

[Haskell-cafe] Re: Bound threads

2005-02-25 Thread Wolfgang Thaller
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