Converting [Word8] to CString

2001-09-14 Thread Ashley Yakeley
I'm looking for a function that will convert a [Word8] byte-array to a CString (i.e. a C byte array) for the purposes of FFI. foreign import "JVMBridge" "JVMBridge_FindClass" rawFindClass :: JavaVM -> CString -> IO JVMObjectRef; makeCString :: [Word8] -> IO CString; It has to w

I WILL TEACH YOU TO HAVE SEX - MY CAN IS ON FOR YOU

2001-09-14 Thread httpd
Below is the result of your feedback form. It was submitted by ANNA ([EMAIL PROTECTED]) on Friday, September 14, 2001 at 18:47:37 --- message: Hello my friend My cam is always on for you.for your sex I cannot forget all

Re: Confused by profiling

2001-09-14 Thread Ian Lynagh
On Fri, Sep 14, 2001 at 04:53:27PM +0100, Simon Marlow wrote: > > > p_aexp_list Parser 00.0 0.0 > > con2tag_Token# Tokens 8800.0 0.0 > > pIfThing PC_base8960.0 0.0 > > > > Now basically my proble

RE: problems exporting haskell functions

2001-09-14 Thread Simon Marlow
Hi there, > Hello, I have tried to export haskell functions, but I > haven't been able to compile anything and obtain a executable > file. My program has two parts. > - Haskell part: > module Hex where > fh :: Int -> Int > foreign export "f" fh :: Int -> Int > fh x =

RE: Confused by profiling

2001-09-14 Thread Simon Marlow
> I am confused by the GHC profiling output. I have put some abstracts > below to illustrate my confusion. > > I compiled my code with: > HFLAGS="-Wall -package lang -prof -auto-all" hmake -ghc main > and then ran it with: > ./main -t +RTS -p < test5.hs > > Here is some of main.prof: >

Re: Confused by profiling

2001-09-14 Thread Ian Lynagh
On Thu, Sep 13, 2001 at 06:42:52PM +0100, Ian Lynagh wrote: > > p_aexp_list Parser 00.0 0.0 0.0 0.3 [...] > Now basically my problem is how things under p_aexp_list can be entered > 896 times if p_aexp_list is entered 0 times - am I reading it wrong? [...] > An

RE: ghc/HopenGL/cygwin/W2K

2001-09-14 Thread Simon Peyton-Jones
Clifford In the next few days we'll release GHC 5.02. The Windows version of that will not require any version of cygwin; it comes complete, and you don't need to install anything else to make it work. (Nor does it mind if you have some version of cygwin installed, a surprisingly difficult cri