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
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 (
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
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
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
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
, 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
(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
the client side.
Cheers,
Kyra
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
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
. 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
12 matches
Mail list logo