[OT] Re: [Haskell-cafe] Tricks for making low level haskell hacking easier

2007-03-05 Thread Mathieu Boespflug
On 2/10/07, Donald Bruce Stewart [EMAIL PROTECTED] wrote: 1) Use Hscolour to pretty-ifiy the Core so its more parsable: ghc -O Foo.hs -ddump-simpl | HsColour -tty | less -r will colourise the Core, and pipe it into less (which will display the metachars). A screenshot:

Re: [OT] Re: [Haskell-cafe] Tricks for making low level haskell hacking easier

2007-03-05 Thread Donald Bruce Stewart
0xbadcode: On 2/10/07, Donald Bruce Stewart [EMAIL PROTECTED] wrote: 1) Use Hscolour to pretty-ifiy the Core so its more parsable: ghc -O Foo.hs -ddump-simpl | HsColour -tty | less -r will colourise the Core, and pipe it into less (which will display the metachars). A screenshot:

Re: [OT] Re: [Haskell-cafe] Tricks for making low level haskell hacking easier

2007-03-05 Thread Valery V. Vorotyntsev
Mathieu Boespflug [EMAIL PROTECTED] writes: On 2/10/07, Donald Bruce Stewart [EMAIL PROTECTED] wrote: metachars). A screenshot: http://www.cse.unsw.edu.au/~dons/tmp/screen-core.png Just out of curiosity, what window manager is that? Mathieu Looks like ratpoison.

feature request: indexing Haskell projects (Re: [Haskell-cafe] auto-completion for Vim 7)

2007-03-05 Thread Claus Reinke
[feature request near the end] Hi Neil, Documentation isn't my strong point :) i noticed that you often reply to feature requests by pointing to undocumented tools/features, either already released in secret, or forthcoming. not that it isn't nice to have those tools, but won't you lose

[Haskell-cafe] Re: ANN: HSH 1.2.0

2007-03-05 Thread Simon Marlow
Neil Mitchell wrote: Hi There are a couple of things about that function... First, I did see it, but its description is rather vague on what it does. From the description, it sounds like it is possible that it would not return an absolute path; I read it more as expanding symlinks. If it

[Haskell-cafe] Re: ANN: HSH 1.2.0

2007-03-05 Thread Simon Marlow
John Goerzen wrote: On Sat, Mar 03, 2007 at 05:06:16PM +, Paul Moore wrote: On 03/03/07, John Goerzen [EMAIL PROTECTED] wrote: I'm pleased to announce HSH 1.2.0. Since version 1.0.0 was announced a few days ago, there have been some improvements: I've had a little look, and it looks

[Haskell-cafe] HDBC Windows binaries with SQLite 3 support

2007-03-05 Thread Alex Queiroz
Hallo list, I guess the subject line says it all. Can anybody help me? -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: HDBC Windows binaries with SQLite 3 support

2007-03-05 Thread ArtemGr
Hallo list, I guess the subject line says it all. Can anybody help me? My instructions (i made it for myself! provided as is): --- SQLite setup (Windows). --- We'll need sqlite3.h. $ wget http://sqlite.org/sqlite-source-3_3_7.zip Copy sqlite3.h to c:\Programs\ghc\include\ Also

[Haskell-cafe] ANN: New release of regex packages

2007-03-05 Thread Chris Kuklewicz
I would like to announce new versions of the regex-* packages. This announcement covers: Version Package Description 0.83 regex-base-- Type Classes and generic instances 0.90 regex-compat -- Uses regex-posix to provide old API 0.91 regex-dfa -- backend, pure haskell, no

Re: [Haskell-cafe] Re: HDBC Windows binaries with SQLite 3 support

2007-03-05 Thread Alex Queiroz
Hallo, On 3/5/07, ArtemGr [EMAIL PROTECTED] wrote: My instructions (i made it for myself! provided as is): Worked after some tweaks for my system. It was actually much easier than I thought. Thanks very much! -- -alex http://www.ventonegro.org/

[Haskell-cafe] LGPL libraries

2007-03-05 Thread Alex Queiroz
Hallo, Gtk2Hs and HDBC are both LGPL licensed, but aren't they always static linked? Is there a way to use them in closed-source programs? Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Lambdabot on Windows?

2007-03-05 Thread Iain Alexander
Thanks for the pointers - I'll give it a whirl. -- Iain Alexander [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell sequence hosting

2007-03-05 Thread John Goerzen
Hi everyone, I've been hosting sequence.complete.org on my own server for awhile, but have found that I haven't had time to maintain it lately. I'm looking for someone else that might be willing/able to host and maintain it. It's using Drupal on MySQL, though a fairly old version of Drupal at

[Haskell-cafe] Re: ANN: HSH 1.2.0

2007-03-05 Thread John Goerzen
On Mon, Mar 05, 2007 at 01:30:23PM +, Simon Marlow wrote: I don't know how Windows shells deal with piping, or even if they can. All I know is that DOS used to simulate it with temporary files, lacking any real multitasking. Windows has proper pipes these days, and

Re: [Haskell-cafe] LGPL libraries

2007-03-05 Thread Duncan Coutts
On Mon, 2007-03-05 at 14:07 -0300, Alex Queiroz wrote: Hallo, Gtk2Hs and HDBC are both LGPL licensed, but aren't they always static linked? Is there a way to use them in closed-source programs? Well let me put it this way: I'm not going to sue you and I doubt any of the other

Re: [Haskell-cafe] LGPL libraries

2007-03-05 Thread Alex Queiroz
Hallo, On 3/5/07, Duncan Coutts [EMAIL PROTECTED] wrote: If you're really worried (but I wouldn't be) then do recall that the static linking thing only requires that the end user be able to relink with a different version that preserves the same ABI. So you don't have to provide source for

Re: [Haskell-cafe] auto-completion for Vim 7

2007-03-05 Thread Marc Weber
Claus, Stephan: I hope you don't mind me having put a link to your work at the bottom ;) (link below) If someone knows of a simple way to generate a function/type list of the standard modules, I'd love to hear about it. Generating such a list on the fly each time is probably not an option, as

RE: [Haskell-cafe] MPTCs and rigid variables

2007-03-05 Thread Simon Peyton-Jones
| class Foo a b | a - b | instance Foo Int String | bar :: Foo Int b = b | bar = rargh | There is nothing wrong with this program. I have run into this | problem and I consider it to be a bug/weakness of the type checking | algorithm used by the implementation. | | (I also agree with you

Re: [Haskell-cafe] LGPL libraries

2007-03-05 Thread Neil Mitchell
Hi Gtk2Hs and HDBC are both LGPL licensed, but aren't they always static linked? Is there a way to use them in closed-source programs? If you are concerned about static linking, Yhc may offer a solution, since it produces bytecode files, which don't statically link to anything. Of

Re: [Haskell-cafe] LGPL libraries

2007-03-05 Thread Kirsten Chevalier
On 3/5/07, Neil Mitchell [EMAIL PROTECTED] wrote: As others have said though, I wouldn't worry overly about it. The whole concept of static linking being wrong, but dynamic linking being fine, when you can flip between the modes just by changing compiler, is just silly. You don't infringe (or

[Haskell-cafe] Pulling a monad out of a functor

2007-03-05 Thread Bryan Burgers
Haskellers, Recently, I have come across a couple of situations in which I need to pull a monad out of a functor so to speak. The first time it was needed, I didn't think much of it, but the second time started me thinking whether there is already an existing construct for this. The type

Re: [Haskell-cafe] LGPL libraries

2007-03-05 Thread brad clawsie
(3) The GPL has never been tested in court http://www.fsf.org/news/wallace-vs-fsf note that during this thread there was a note from a contributor to promise to not sue a potentially infriging use. you should be careful of such promises, particularly considering that some fsf licenses include

Re: [Haskell-cafe] LGPL libraries

2007-03-05 Thread Alec Berryman
brad clawsie on 2007-03-05 20:30:24 -0800: (3) The GPL has never been tested in court http://www.fsf.org/news/wallace-vs-fsf note that during this thread there was a note from a contributor to promise to not sue a potentially infriging use. you should be careful of such promises,

Re: [Haskell-cafe] Pulling a monad out of a functor

2007-03-05 Thread Bryan Burgers
http://haskell.org/ghc/dist/current/docs/libraries/base/Data-Traversable.html pull is sequence, fmapM is mapM (also see the sequenceA, traverse functions for the more general case of applicative functors vs. monads) Stefan Ah yes, thank you! Saying It seems to me that if this were a class,