Re: GMP.framework

2007-05-19 Thread Christian Maeder
Christian Maeder schrieb: It seems our GMP.framework is only suited for Powerpc. I'll look after it. Thanks for your hints and sorry for the inconveniences. (Meanwhile you could try to get the GMP.framework for intel macs from elsewhere.)

Re: GNUreadline.framework and GMP.framework

2007-05-19 Thread Christian Maeder
Christian Maeder schrieb: P.S. There is also a problem with the GNUreadline.framework in your home directory on Powerpcs only. When you link your own binaries you have to add -optl-F$(HOME)/Library/Frameworks -optl-framework -optlGNUreadline to ghc's command line. It's best to install the

capabilities of GHC API

2007-05-19 Thread Frederik Eaton
Hello, I think what I'm trying to do is too ambitious, but I thought I would ask to see if it is possible. It seems like there is no easy way to do it, given what I've seen of the GHC API. I would like to have a function, say it is called this, which has the following effect in ghci let n = 2

Re: capabilities of GHC API

2007-05-19 Thread Lemmih
On 5/19/07, Frederik Eaton [EMAIL PROTECTED] wrote: Hello, I think what I'm trying to do is too ambitious, but I thought I would ask to see if it is possible. It seems like there is no easy way to do it, given what I've seen of the GHC API. I would like to have a function, say it is called

Re: Wanted: warning option for usages of unary minus

2007-05-19 Thread Isaac Dupree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Meacham wrote: another option would be to only count it as a negative if there is a non-identifier character preceeding it. A little ugly. but still better than the current situation IMHO. I think Ghc's lexer Alex can do this although this

Re: capabilities of GHC API

2007-05-19 Thread Frederik Eaton
This is pretty much that the GHCi debugger does expect it restores the environment at the end of a breakpoint. I can't make any sense of what you wrote. Did you mean what instead of that, and except instead of expect? In that case, it is good news to hear that it has already been done. If

Re: capabilities of GHC API

2007-05-19 Thread Stefan O'Rear
On Sat, May 19, 2007 at 06:09:45PM +0100, Frederik Eaton wrote: If you have GHC-6.6 or greater, try: let n = 2 in GHC.Base.breakpoint () Interesting, apparently that statement also contains the word 'print': :) $ ghci fly:~

integrating ghc as editor's code tools

2007-05-19 Thread Paulo Henrique
I´m trying to integrated ghc and Crimson editor (Windows), to get a small and efficient package. I found how to integrate ghc and JCreator, but the package has more than 100MB. I configured Crimson's Tools - Preferences-User Tools with this values: Menu text: GHC Command:

Re: capabilities of GHC API

2007-05-19 Thread Lemmih
On 5/19/07, Frederik Eaton [EMAIL PROTECTED] wrote: This is pretty much that the GHCi debugger does expect it restores the environment at the end of a breakpoint. I can't make any sense of what you wrote. Did you mean what instead of that, and except instead of expect? Ah, yes. I should