Re: [Haskell-cafe] poll: how can we help you contribute to darcs?

2008-08-04 Thread Ketil Malde
Duncan Coutts [EMAIL PROTECTED] writes: It would be useful if some darcs 2 hackers, contributors could help the ghc people evaluate if darcs 2 is still in the running. This looks like a very easy and low-investement way to get involved. Expanding a bit on this: The page at

Re: [Haskell-cafe] Brainstorming on how to parse IMAP

2008-08-04 Thread Malcolm Wallace
1) Ideally I could parse stuff lazily. I have tried this with FTP and it is more complex than it seems at first, due to making sure you never, never, never consume too much data. PolyParse has lazy variants of its combinators, which would probably be of use here. Software:

[Haskell-cafe] ActiveX and COM

2008-08-04 Thread GüŸnther Schmidt
Hi, what is currently the recommend way to interface with COM from haskell? I need to create an Excel Sheet and thus need to use Excel via COM. Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: [darcs-users] poll: how can we help you contribute to darcs?

2008-08-04 Thread Ferenc Wagner
wren ng thornton [EMAIL PROTECTED] writes: [Bug trackers are an excellent source of tasks for active developers to use so things don't get lost, but they're awful for new developers. For someone just joining the project it's rarely clear how important a task is, how hard, or how far

[Haskell-cafe] ANN: Haddock version 2.2.1

2008-08-04 Thread David Waern
-- Haddock 2.2.1 A new version of Haddock, the Haskell documentation tool, is out. The homepage will be updated soon, containing a windows binary release. Please use the bug tracker to submit bug reports

Re: [Haskell-cafe] ActiveX and COM

2008-08-04 Thread Fernand
GüŸnther Schmidt пишет: Hi, what is currently the recommend way to interface with COM from haskell? I need to create an Excel Sheet and thus need to use Excel via COM. Günther You have the HDirect package, you need some tweaking to compile it with the current GHC. I only have a professionnal

Re: [Haskell-cafe] poll: how can we help you contribute to darcs?

2008-08-04 Thread Bit Connor
What about the idea of creating a GUI interface to darcs? I love the command line as much as the next guy, but I think darcs could really benefit from a polished GUI. I used tortoise darcs on a small project a while ago and it was pretty nice, but I think there is potential for much better. I

Re: [Haskell-cafe] poll: how can we help you contribute to darcs?

2008-08-04 Thread Claus Reinke
It would be useful if some darcs 2 hackers, contributors could help the ghc people evaluate if darcs 2 is still in the running. That would mean identifying the key bugs (eg windows case-insensitive file bugs, slow pulls) and seeing how hard they are to fix. Also doing a test conversion to darcs 2

Re: [Haskell-cafe] poll: how can we help you contribute to darcs?

2008-08-04 Thread Claus Reinke
Could darcs 2 performance be improved by making use of the order of patches in the reference repo, to identify reference versions and reign in exponential permutation issues? In other words, all repos are equal, all patches are equal, but once a patch has made the roundtrip through the reference

Re: [Haskell-cafe] ActiveX and COM

2008-08-04 Thread Olivier Boudry
On Mon, Aug 4, 2008 at 2:14 PM, Fernand [EMAIL PROTECTED] wrote: If you need to simply create and Excel Sheet, you may also try it using the new Microsoft XML format (it will only work with Office 2007, though) ; then you do not need COM. Sincerely yours, Fernand Hi Fernand and Günther, A

Re: [Haskell-cafe] ActiveX and COM

2008-08-04 Thread Olivier Boudry
Ooops, I just realized that hpaste truncated my source file at 5k (it's 8k long). Unfortunately the Excel file creation code is in the truncated part of the file ;-) So if you are interested in getting the full source, just ask. ___ Haskell-Cafe mailing

Re: [darcs-users] [Haskell-cafe] poll: how can we help you contribute to darcs?

2008-08-04 Thread zooko
On Aug 2, 2008, at 19:26 PM, Jason Dusek wrote: Eric Kow [EMAIL PROTECTED] wrote: I would contribute to darcs if only... ...there were interest in binary file handling. I'm interested in binary file handling. But what do you mean -- do you want darcs to do some kind of binary deltas

Re: [Haskell-cafe] Brainstorming on how to parse IMAP

2008-08-04 Thread Brandon S. Allbery KF8NH
On 2008 Aug 4, at 6:10, Malcolm Wallace wrote: A283 SEARCH {4} {21} TEXTstring not in mailbox Assuming the first line can be read strictly, and the remainder should be lazy, the parser might look something like this: FWIW, the actual data looks more like A283 SEARCH {4} TEXT {21}

Re: [darcs-users] [Haskell-cafe] poll: how can we help you contribute to darcs?

2008-08-04 Thread Jason Dusek
zooko [EMAIL PROTECTED] wrote: Jason Dusek wrote: Eric Kow [EMAIL PROTECTED] wrote: I would contribute to darcs if only... ...there were interest in binary file handling. ...what do you mean -- do you want darcs to do some kind of binary deltas and then merge them? Sounds crazy.

[Haskell-cafe] Re: ANN: Haddock version 2.2.1

2008-08-04 Thread Christian Maeder
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haddock-2.2.1 depends on ghc-paths http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ghc-paths-0.1.0.2 ghc-paths failed for me with: Setup.hs:7:7: Could not find module `Distribution.Simple.PackageIndex': I've ghc-6.8.3 and

Re: [Haskell-cafe] Re: ANN: Haddock version 2.2.1

2008-08-04 Thread Gwern Branwen
On 2008.08.04 19:32:13 +0200, Christian Maeder [EMAIL PROTECTED] scribbled 3.0K characters: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haddock-2.2.1 depends on ghc-paths http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ghc-paths-0.1.0.2 ghc-paths failed for me with:

Re: [Haskell-cafe] HDBC-ODBC linking problems in windows.

2008-08-04 Thread PJ Durai
On 8/3/08, Andrew Appleyard [EMAIL PROTECTED] wrote: Hi PJ, On 2/08/2008 4:09 AM, you wrote: I am having issues getting hdbc/odbc working on windows. When using GHC, I am not able to compile a simple program. It ends up with linker errors like [...] Is there an easy workaround for

Re: [Haskell-cafe] Re: ANN: Haddock version 2.2.1

2008-08-04 Thread Christian Maeder
Right, http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Cabal-1.4.0.1 works. It seems that the dependencies for ghc-paths could be improved. Thanks Christian Gwern Branwen wrote: On 2008.08.04 19:32:13 +0200, Christian Maeder [EMAIL PROTECTED] scribbled 3.0K characters:

[Haskell-cafe] Capitalization and associated type families

2008-08-04 Thread Brian Hulley
Hi, I'm familiar with the capitalization rules for identifiers in Haskell and know that they are very useful and practical e.g. by allowing variables to be distinguished from constants in patterns etc. However I'm trying to understand on a much deeper level whether or not they can really be

Re: [Haskell-cafe] Capitalization and associated type families

2008-08-04 Thread Jonathan Cast
On Mon, 2008-08-04 at 19:51 +0100, Brian Hulley wrote: Hi, I'm familiar with the capitalization rules for identifiers in Haskell and know that they are very useful and practical e.g. by allowing variables to be distinguished from constants in patterns etc. However I'm trying to understand

Re: [Haskell-cafe] Re: ANN: Haddock version 2.2.1

2008-08-04 Thread Gwern Branwen
On 2008.08.04 20:47:12 +0200, Christian Maeder [EMAIL PROTECTED] scribbled 1.1K characters: Right, http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Cabal-1.4.0.1 works. It seems that the dependencies for ghc-paths could be improved. Thanks Christian Yes, I emailed Marlow

[Haskell-cafe] ICFP08 Call for Participation

2008-08-04 Thread Matthew Fluet (ICFP Publicity Chair)
= Call for Participation The 13th ACM SIGPLAN International Conference on Functional Programming (ICFP 2008) http://www.icfpconference.org/icfp2008

Re: [Haskell-cafe] Capitalization and associated type families

2008-08-04 Thread Brian Hulley
Jonathan Cast wrote: On Mon, 2008-08-04 at 19:51 +0100, Brian Hulley wrote: For example, why is there any distinction between a type variable and a type constant? forall a b. (a - b) - List a - List b Now this begs the question: why does List need to start with a capital? (supposing

[Haskell-cafe] Looking for a more functional way to do this

2008-08-04 Thread Jefferson Heard
Working with HOpenGL and GLUT, I find myself approaching a common problem with a common solution that I don't really like all that much, as it reeks of procedural programming. Basically the problem is that of complex program state, such that when the user provides input to the program in the form

Re: [Haskell-cafe] Capitalization and associated type families

2008-08-04 Thread Jonathan Cast
On Mon, 2008-08-04 at 23:04 +0100, Brian Hulley wrote: Jonathan Cast wrote: On Mon, 2008-08-04 at 19:51 +0100, Brian Hulley wrote: For example, why is there any distinction between a type variable and a type constant? forall a b. (a - b) - List a - List b Now this begs the

Re: [Haskell-cafe] code review? store server, 220loc.

2008-08-04 Thread Bryan O'Sullivan
On Sat, Aug 2, 2008 at 10:13 PM, Tim Newsham [EMAIL PROTECTED] wrote: Anyone interested in critiquing some code? I'm looking for ideas for making it faster and/or simpler: http://www.thenewsh.com/%7Enewsham/store/Server5.hs The code looks fairly reasonable, although most of your strictness

Re: [Haskell-cafe] code review? store server, 220loc.

2008-08-04 Thread Tim Newsham
You should try profiling this. I can see a few possible problems (such as reading String from a socket, instead of a ByteString), but it's difficult to predict what might be causing your code to be so slow. Haskell code ought to be much more competitive with C for an application like this. I

Re: [Haskell-cafe] code review? store server, 220loc.

2008-08-04 Thread Brandon S. Allbery KF8NH
On 2008 Aug 4, at 23:45, Tim Newsham wrote: Anyway, I haven't yet used any ByteString IO functions. I ran some tests when I was starting and it seems that using Handle IO functions was a bit slower than using the Socket IO functions directly. It looks like there are a bunch of Handle IO