[Haskell-cafe] RE: Darcs and NFS Resolution

2009-09-11 Thread Lewis-Sandy, Darrell
Thanks to everyone who pointed me in the right direction on this problem, I have been able to find a work around that allows me to push to an archive on a network file share. After some digging, I discovered the root of the problem. Briefly, Darcs uses the standard library System.Directory

[Haskell-cafe] Darcs 2.3 and NFS

2009-09-09 Thread Lewis-Sandy, Darrell
I am trying to set up darcs so that I can share patches between the many machines that I use for application development and testing. The machines have various operating systems (Windows XP, Windows 2000, Windows Vista, Ubuntu 9.04 32-bit, Ubuntu 64 bit, etc). I have a windows file share tha

[Haskell-cafe] FFI and DLLs

2007-08-30 Thread Lewis-Sandy, Darrell
An early proposal for the FFI supported importing functions directly from dynamic link libraries: www. haskell.org/hdirect/ffi-a4.ps.gz This looks like it was dropped from the final version of the addendum in favor of C header files as the sole

[Haskell-cafe] Question about arrows

2007-08-03 Thread Lewis-Sandy, Darrell
Is there a class property of the Control.Arrow class that represents the evaluatation of an arrow: eval :: (Arrow a)=>a b c->b->c I am writing some higher order code that I would like to work with either functions or partial functions (implemented as balanced binary search trees) and don't

[Haskell-cafe] Operational Semantics of Haskell

2007-07-31 Thread Lewis-Sandy, Darrell
Is there a good source for the operational semantics of Haskell? I am trying to squeeze the most efficiency out of a bit of code and am looking to remove unnecessary reductions. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell

[Haskell-cafe] Multiple instancing of functions with FFI

2007-07-09 Thread Lewis-Sandy, Darrell
I am having trouble exporting multiple instances of a polymorphic function similar to the example in the "Haskell 98 Foreign Function Interface 1.0 addendum" (page 6). My specific code is below: ---begin test.hs- >module Test() where >impor

[Haskell-cafe] Tools for Haskell and COM

2007-06-25 Thread Lewis-Sandy, Darrell
Are there any currently maintained tools for interfacing Haskell with COM objects? It appears that both Haskell script and Haskell direct haven't been updated since the turn of the century, and have fallen out of step with recent library changes. ___

RE: [Haskell-cafe] FFI and Excel VBA

2007-06-21 Thread Lewis-Sandy, Darrell
Whoops - I posted the wrong version of the exports list. Compilation with that adder.def will fail (since it the Haskell code doesn't export either suber or hello). Below is the revised example: KEYWORDS: Foreign, Export, Win32, DLL, VBA, Excel, GCH, Example The contents of adder.hs are as foll

RE: [Haskell-cafe] FFI and Excel VBA

2007-06-21 Thread Lewis-Sandy, Darrell
I was able to figure out how to get the example in chapter 11 of the GHC manual to work. Since it was not intuitive (to a non C programmer), I thought that I should post this so that others might take advantage of it. KEYWORDS: Foreign, Export, Win32, DLL, VBA, Excel, GCH, Example The contents o

[Haskell-cafe] FFI and Excel VBA

2007-06-19 Thread Lewis-Sandy, Darrell
I am new to using the Haskell FFI, and have been trying to implement the example in section 11.6 of the GHC user's guide. I have finally gotten to the point where my dll compiles (there is a missing space in the mainDll.h code at line 4:12) using GHC 6.6.1, and used the declare statement to e