Re: [Haskell-cafe] Set of Haskell programs

2010-09-15 Thread Chris BROWN
Hi Ivan, HaRe itself is not Haskell 98, but for testing purposes we have used various Haskell 98 programs and test suites. One rather large full Haskell 98 program that we have used to test HaRe is nhc: http://www.cs.york.ac.uk/fp/nhc98/ nhc also comes with various Haskell 98 test suites, all

[Haskell-cafe] ANN: HaRe-0.6, now on Hackage

2010-07-07 Thread Chris BROWN
instructions and known issues, and let us know about any problems, bugs, suggestions or additional platforms you can confirm as working. Happy Refactoring! The HaRe Team (Chris Brown, Huiqing Li, Simon Thompson) Background: Refactoring is the process of changing the structure of programs without

Re: [Haskell] Re: [Haskell-cafe] ANN: HaRe-0.6, now on Hackage

2010-07-07 Thread Chris BROWN
Daniel, Ivan, One comment on your .cabal file: it's usually preferred to write base = 3 5 rather than base = 3 = 4. In particular if e.g. base-4.2.0.0 doesn't fall in the latter range. I don't know how exactly Cabal interprets these bounds, but it's a possibility since 4.2 4.0. Thanks

[Haskell-cafe] ANN: HaRe-0.6.0.1

2010-07-07 Thread Chris BROWN
also confirm HaRe works with AquaMacs, Emacs 23.1.1 and GVim 7.2 Please let me know if there are any issues. Kind regards, Chris Brown (on behalf of the HaRe team). On 7 Jul 2010, at 12:20, Chris BROWN wrote: Dear Haskellers, As part of our project on Refactoring Functional Programs http

Re: [Haskell-cafe] Are you a Haskell expert? [How easy is it to hire Haskell programmers]

2010-07-03 Thread Chris BROWN
So hsc2hs is related to writing C bindings? Well, that'll be why I've never heard of it then; I don't understand C. (Nor do I particularly want to... I chose Haskell.) Besides, why in the world do Haskell libraries have to involve C? I've written and released several libraries on

Re: [Haskell-cafe] Re: ANNOUNCE: HaRe, the Haskell Refactorer 0.6

2010-06-30 Thread Chris BROWN
The Annotated part of haskell-src-exts provides this I think: http://hackage.haskell.org/packages/archive/haskell-src-exts/1.9.0/doc/html/Language-Haskell-Exts-Annotated.html Thanks, Ivan, I'll take a look at this. I wonder if would be possible to write a mapping for

[Haskell-cafe] dirs in Emacs/Vim in Cabal

2010-06-30 Thread Chris BROWN
of HaRe. My question is: Is it possible to allow the emacs/vim scripts that I have know where this directory is automatically? I hope someone can help, Kindest regards, Chris Brown. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Re: ANNOUNCE: HaRe, the Haskell Refactorer 0.6

2010-06-30 Thread Chris BROWN
Doesn't that mean that hare requires also type information? Even though haskell-src-exts is impressive, I doubt it comes with a typechecker for GHC Haskell. HaRe does require a type checker, but we use hint for that, not Programmatica. So haskell-src-exts shouldn't interfere... but it

Re: [Haskell-cafe] Re: ANNOUNCE: HaRe, the Haskell Refactorer 0.6

2010-06-29 Thread Chris BROWN
Hi Sebastian, Great, I want to try it! Thanks for you interest! While skimming the installation instructions I wondered why I couldn't just do cabal install HaRe Are there any problems with putting HaRe on Hackage? I've looked at this before and I must say it's certainly not

Re: [Haskell-cafe] Re: ANNOUNCE: HaRe, the Haskell Refactorer 0.6

2010-06-29 Thread Chris BROWN
Hi Ivan, I've tried playing with an older version of HaRe; it's build system is a little weird but I'm sure it can be converted into a Cabal-compatible format. Part of the problem if memory serves is the use of embedded libraries that aren't on Hackage either. That's correct. HaRe builds

Re: [Haskell-cafe] Re: ANNOUNCE: HaRe, the Haskell Refactorer 0.6

2010-06-29 Thread Chris BROWN
On 29 Jun 2010, at 15:55, Ivan Lazar Miljenovic wrote: Chris BROWN chr...@cs.st-andrews.ac.uk writes: Of course, it would also be nice if HaRe could parse more than just Haskell98... :p (I know, I know, it isn't easy to change parsers, etc.). HaRe works over the full Haskell 98

[Haskell-cafe] ANNOUNCE: HaRe, the Haskell Refactorer 0.6

2010-06-28 Thread Chris BROWN
/gnu tools (or cygwin tools, if on windows) 4. vim or emacs (we've tested with gvim 6.2 and with emacs 21.4) 5. If you intend on running the test suite, HUnit-1.0. Happy Refactoring! The HaRe Team (Chris Brown, Huiqing Li, Simon Thompson) Project email: refactor-fp at kent.ac.ukhttp

Re: [Haskell-cafe] How to Show an Operation?

2010-06-10 Thread Chris BROWN
Hi Martin, Can you not just use trace? http://cvs.haskell.org/Hugs/pages/libraries/base/Debug-Trace.html f x = trace in f x g x = trace in g x That should show the order of evaluation. Chris. On 10 Jun 2010, at 18:44, Martin Drautzburg wrote: On Thursday, 10. June 2010 00:08:34 Luke

Re: [Haskell-cafe] Who generates Haskell code and uses type information at runtime? (fwd)

2009-03-18 Thread Chris Brown
Haskell code. http://www.cs.kent.ac.uk/projects/refactor-fp/hare/haddock/RefacUtils.html Chris. Thanks, Martin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Chris Brown