Re: [Haskell-cafe] COM and Haskell

2007-04-30 Thread Simon Marlow
Andrew Appleyard wrote: On 26/04/2007, at 12:12 am, Bulat Ziganshin wrote: Simon Marlow recently wrote paper about handling dynamic exceptions - for me it seems that he described general system to mimic OOP in Haskell I found the paper (titled 'An Extensible Dynamically-Typed Hierarchy of

Re: Re[2]: [Haskell-cafe] COM and Haskell

2007-04-27 Thread Andrew Appleyard
On 26/04/2007, at 12:12 am, Bulat Ziganshin wrote: Simon Marlow recently wrote paper about handling dynamic exceptions - for me it seems that he described general system to mimic OOP in Haskell I found the paper (titled 'An Extensible Dynamically-Typed Hierarchy of Exceptions'). The

Re[2]: [Haskell-cafe] COM and Haskell

2007-04-25 Thread Bulat Ziganshin
Hello Andrew, Tuesday, April 24, 2007, 5:03:53 AM, you wrote: A core difficulty is the mismatch between the object-oriented type system of .NET and Haskell's. This is something that RubyCLR didn't need to conquer, Ruby already having object-oriented concepts. Simon Marlow recently wrote

RE: [Haskell-cafe] COM and Haskell

2007-04-23 Thread Simon Peyton-Jones
: [Haskell-cafe] COM and Haskell All, I'm interested in automating Excel using Haskell. I'm writing a little program for my wife and it'd be nice to fill out an Excel spreadsheet for her (with formatting so I don't think CSV will cut it). A bit of Googling didn't turn up anything interesting. Has

RE: [Haskell-cafe] COM and Haskell

2007-04-23 Thread Simon Peyton-Jones
| I've done things that are almost identical to what Neil suggests, and | I've also done a lot of work on calling Haskell code from Excel via | the Excel4 (XLL) API, but not so much work on calling COM from Haskell. | It's all doable, but it's a lot of work. I wonder what we (or someone else)

Re: [Haskell-cafe] COM and Haskell

2007-04-23 Thread Justin Bailey
On 4/23/07, Simon Peyton-Jones [EMAIL PROTECTED] wrote: I wonder what we (or someone else) could do to make it less work? Even a 'cookbook' to explain what to do would be jolly useful. Give me a way to get to the .NET libraries and the world is my oyster ... Based on my experience using

Re: [Haskell-cafe] COM and Haskell

2007-04-23 Thread Rafael
Hi, I don't read it, anyway you can try. http://liinwww.ira.uka.de/cgi-bin/bibshow?e=Njtd0DjufTffs02::8%6015/fyqboefe%7d3352:26r=bibtexmode=intra http://research.microsoft.com/%7esimonpj/Papers/com.ps.gz att Rafael Cabral On 4/19/07, Justin Bailey [EMAIL PROTECTED] wrote: All, I'm

Re: [Haskell-cafe] COM and Haskell

2007-04-23 Thread Andrew Appleyard
On 24/04/2007, at 1:39 am, Justin Bailey wrote: Give me a way to get to the .NET libraries and the world is my oyster ... I second that :-) Such access will probably become more important over time as Microsoft release more .NET-only libraries (like Windows Presentation Foundation and

RE: [Haskell-cafe] COM and Haskell

2007-04-20 Thread Bayley, Alistair
On Thu, Apr 19, 2007 at 08:59:17AM -0700, Justin Bailey wrote: All, I'm interested in automating Excel using Haskell. I'm Has any work been done on using Excel (or more generally, COM) from Haskell? There is only one library: hdirect. No-one remembers Krasimir's hscom

Re: [Haskell-cafe] COM and Haskell

2007-04-20 Thread Tomasz Zielonka
On Thu, Apr 19, 2007 at 05:45:18PM +0100, Neil Mitchell wrote: And I would recommend using VBA, I've done loads of Excel programming - VBA is perfectly easy enough, the hard bit is the Excel API which is quite big. If you move to Haskell you get a slightly better programming language, with the

[Haskell-cafe] COM and Haskell

2007-04-19 Thread Justin Bailey
All, I'm interested in automating Excel using Haskell. I'm writing a little program for my wife and it'd be nice to fill out an Excel spreadsheet for her (with formatting so I don't think CSV will cut it). A bit of Googling didn't turn up anything interesting. Has any work been done on using

Re: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Marc Weber
On Thu, Apr 19, 2007 at 08:59:17AM -0700, Justin Bailey wrote: All, I'm interested in automating Excel using Haskell. I'm writing a little program for my wife and it'd be nice to fill out an Excel spreadsheet for her (with formatting so I don't think CSV will cut it). A bit of

Re: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Paul Moore
On 19/04/07, Marc Weber [EMAIL PROTECTED] wrote: There is only one library: hdirect. But I don't know its status there have been some posts and some authors may have chnaged it. I'd suggest grepping some mailinglist archives (you can find them all on haskell.org) or wait till someone else gives

Re: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Neil Mitchell
Hi I'm interested in automating Excel using Haskell. I'm writing a little program for my wife and it'd be nice to fill out an Excel spreadsheet for her (with formatting so I don't think CSV will cut it). A bit of Googling didn't turn up anything interesting. Does she need to

Re: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Neil Mitchell
Hi If you application will be only small you'll be faster using VBScript. Or Python or Perl, or (probably, I'm not sure) Ruby. Or likely many others. No, VBA only. VBA is integrated with Excel and can talk to all the Excel data structures, be developed inside the Excel program etc. It can

Re: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Marc Weber
On Thu, Apr 19, 2007 at 06:18:24PM +0100, Neil Mitchell wrote: No, VBA only. I had VBA in mind but typed the wrong name. Thanks Neil for correcting my statement. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Doug Kirk
I hate to recommend Java to Haskellers, but there is a project named Poi at Apache's Jakarta site[1] that will allow you to (with some Java programming) read, write, and manipulate Excel files directly. You don't have to COM to Excel, you don't even need Excel installed! Nice for producing

RE: [Haskell-cafe] COM and Haskell

2007-04-19 Thread Tim Docker
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Kirk Sent: Friday, 20 April 2007 12:46 PM To: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] COM and Haskell I hate to recommend Java to Haskellers, but there is a project named Poi at Apache's Jakarta site[1