Re: [Haskell-cafe] FFI question - FunPtrs to top-level functions

2011-08-18 Thread kyra
foo :: ... foreign import ccall foo fooptr :: FunPtr (...) Cheers, Kyra ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ghc panic when compiling blaze-builder

2010-11-20 Thread kyra
On 11/21/2010 3:20 AM, JosИ Romildo Malaquias wrote: When compiling blaze-builder-0.2.0.1 with ghc-7.0.1 on my ~amd64 gentoo system, I am getting the shown below. Any clues? Romildo [...] Building blaze-builder-0.2.0.1... [1 of 8] Compiling Blaze.ByteString.Builder.Internal (

Re: [Haskell-cafe] Will GHC 6.14 with LLVM use LLVM C compiler to compile external C Libraries

2010-09-09 Thread kyra
I wonder if llvm-gcc supports it's own (gcc) extensions. If it supports then there is no need to stuck in clang right now. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to derive instance for type without exported constructor?

2009-09-04 Thread kyra
test foo = test (unsafeCoerce foo :: Bar) main :: IO () main = print $ test (Foo 123 345) Cheers, Kyra ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Looking for Haskellers on Windows

2009-01-10 Thread kyra
John Goerzen wrote: GЭnther Schmidt wrote: Kyra I've tried any sort of values to any sort of columns. I tried insert into somesinglecolumntable (someNumbercolumn) values (?) [toSql 5] ... and so on. So I'm not certain at all the error message does actually give the right clue. It just

Re: [Haskell-cafe] Trouble with FFI on Windows2000...

2008-12-21 Thread kyra
Serge LE HUITOUZE wrote: I do the following: dlltool -d cproj1.def -l libcproj1.a ghc --make testFFI_2.hs -optl-lcproj1 -optl-L. This seems fine, since it produces a testFFI_2.exe. However, executing it, I get a MSWindows error box with a message that looks like (approximate

Re: [Haskell-cafe] FFI and struct arguments

2008-07-17 Thread kyra
, so for FFI purposes this 'func' can be declared as something like: foreign import ccall unsafe :: Float - Float - IO () Cheers, Kyra ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] FFI and struct arguments

2008-07-17 Thread kyra
(see my previous post on this subj) and can be extended further. For example, in my homebrew COM library I pretty successfully marshall 16-byte Variants *by value* by means of two consecutive legal Word64 arguments. Cheers, Kyra ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Haskell DLL crashes Excel

2006-09-22 Thread Kyra
the client side. Cheers, Kyra ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell DLL crashes Excel

2006-09-22 Thread Kyra
Kyra wrote: Use SysAllocString... family. Also, remember they (by convention) have to be released from the client side. Oops, they = such allocated BSTRs. Cheers, Kyra ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] using of data types as kinds

2005-11-22 Thread kyra
Bulat Ziganshin wrote: Hello Simon, Tuesday, November 22, 2005, 8:17:38 PM, you wrote: SPJ I have not written anything about what I plan to do in GHC, but SPJ basically it amounts to allowing you to use a data type as a SPJ kind. Busy doing GADTs and impredicativity at the moment though

Re: [Haskell-cafe] Re: Oracle + Haskell advice?

2005-08-19 Thread kyra
. If anyone were interested in using/contributing I could give CVS access to the code. Keean. Yes, I'm definitely interested in evaluating/using/contributing your framework. Regards, Kyra ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http