Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] create a closure in external C function?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: qrczak@k...
Subject: Re: [Caml-list] create a closure in external C function?
Tue, 06 Mar 2001 16:44:06 -0800, Chris Hecker <> pisze:

> > Especially if you statically know types of arguments,
> > which is the case I am talking about.
> Which case are you talking about?  Are you working on this as well?

Not quite. But if I ever write an OCaml binding to a C library,
I might need it; and other people might similarly need it.
It's a concrete functionality which is missing from OCaml but
makes sense. I use its equivalent in Haskell to wrap C libraries
which use callbacks in Haskell's higher order functions.

> Are you just talking about wanting to expose qsort and other
> functions that take callbacks?


 __("<  Marcin Kowalczyk *
  ^^                      SYGNATURA ZASTĘPCZA

To unsubscribe, mail  Archives: