Re: C++ class structure mapping

2003-06-17 Thread Derek Elkins
On Tue, 17 Jun 2003 09:07:06 +0100 Alastair Reid <[EMAIL PROTECTED]> wrote: > On Tuesday 17 June 2003 2:33 am, Abraham Egnor wrote: > > I'd like to make a haskell binding for a C++ library. Most of the > > tools out there seem oriented towards c bindings, so it looks like > > I'll be writing the

RE: C++ class structure mapping

2003-06-17 Thread Daan Leijen
Dear Abraham, > Now comes the question of how to map a C++ class hierarchy > into haskell. > It seems natural to try to map C++ classes into haskell typeclasses; > however, there are a few issues involved with that. You will quickly run into problems when doing that. The most important probl

Re: C++ class structure mapping

2003-06-17 Thread Alastair Reid
On Tuesday 17 June 2003 2:33 am, Abraham Egnor wrote: > I'd like to make a haskell binding for a C++ library. Most of the tools > out there seem oriented towards c bindings, so it looks like I'll be > writing the FFI code generator myself. While I'm at it I figure I might > as well just make a ge

C++ class structure mapping

2003-06-16 Thread Abraham Egnor
I'd like to make a haskell binding for a C++ library. Most of the tools out there seem oriented towards c bindings, so it looks like I'll be writing the FFI code generator myself. While I'm at it I figure I might as well just make a general C++ binding tool. I've been thinking about this, and I'