Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-12 Thread Andrew Appleyard
Jason Dagit wrote: Thank you for releasing this! No worries. I might never have got around to releasing it if it wasn't for the encouragement of Manuel Chakravarty, Don Stewart, and others. Thanks guys! [...] as I understand it the Haskell you write still lives in Haskell-land and the .NET

[Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Andrew Appleyard
I'd like to announce the first release of Salsa, an experimental Haskell library that allows Haskell programs to access .NET libraries. Here's a taste: type Hello.hs import Foreign.Salsa import Bindings main = withCLR $ do _Console # _writeLine (Hello .NET World!) type

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

2008-08-03 Thread Andrew Appleyard
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 this? Or am I doing something wrong? MySetup === Windows XP

Re: [Haskell-cafe] HDBC-odbc 1.1.4.4 fixes Windows linking problems

2008-06-03 Thread Andrew Appleyard
On 4/06/2008 1:05 PM, Greg Matheson wrote: I'm getting a 'Parse error in pattern' error. C:\Documents and Settings\Administratorghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude :m Database.HDBC.ODBC Database.HDBC [...] Prelude

Re: [Haskell-cafe] HDBC with SQL Server / OBDC

2008-05-29 Thread Andrew Appleyard
On Wed, May 28, 2008 at 12:46 AM, Olivier Boudry [EMAIL PROTECTED] wrote: If the calling convention is stdcall on Windows and ccall on other OS then it should be defined based on the OS. This can be done by updating the .hsc files to define the calling convention as a macro depending on the OS

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: [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] Compiling GHC

2007-04-12 Thread Andrew Appleyard
On 11/04/2007, at 7:52 pm, Chris Witte wrote: I made this change but I still get the error unknown symbol `_gettimeofday' I'm using mingw 5.1.3 which as far as i can tell should use the 3.11 runtime. Ensure that HAVE_GETTIMEOFDAY is defined in mk/config.h. Also, I discovered that changes to

Re: [Haskell-cafe] Compiling GHC

2007-04-12 Thread Andrew Appleyard
On 13/04/2007, at 11:03 am, Chris Witte wrote: Well that works for the ghc-6.7.20070402 tar ball but if I try and pull down the darcs head it fails to make with ... I wonder what has changed between then and now to cause this. Not sure about that one, I was building ghc-6.6. Darcs should be

Re: [Haskell-cafe] Compiling GHC

2007-04-11 Thread Andrew Appleyard
On 30/03/2007, at 4:36 pm, Chris Witte wrote: cp -rp ./../include/* /usr/local/include/mingw cp: cannot stat `./../include/*': No such file or directory The source paths for these copies are derived from the path of the gcc binary ($GccDir). Did you call configure with '--with-gcc=C:/