|
Polymorphic function in reference cell
|
| |
Hi, I have a module that have several functions that take a polymorphic function as part of their arguments (Foo.f1 and Foo.f2 in the example). module Foo = struct let f1 f = f 1 let f2 f = f 1.0 let f1_ref = (ref (fun _ -> raise (Failure "undefined") : ('a -> 'a) )) let set_f1_ref f =... more »
|
|
ICFP '10: Second call for workshop proposals
|
| |
CALL FOR WORKSHOP AND CO-LOCATED EVENT PROPOSALS ICFP 2010 15th ACM SIGPLAN International Conference on Functional Programming September 27 - 29, 2010 Baltimore, Maryland [link] The 15th ACM SIGPLAN International Conference on Functional... more »
|
|
Random questions
|
| |
I know little about PRGN and unfortunately in a lot of cases the functions in the Random module don't provide me the right interface. Could anybody tell me if the following functions preserve the quality of the underlying PRGN and/or if there's a better way to achieve that : 1) Generate an arbitrary int... more »
|
|
New: cppo, C preprocessor for OCaml
|
| |
Dear list, It is my pleasure to announce the first release of cppo, an OCaml-friendly equivalent of the C preprocessor (cpp). Cppo provides the classic #include, #define and conditionals (#ifdef, ...) which are occasionally useful. Cppo can be used on OCaml files and variants of OCaml that use the same lexer, such as ocamllex.... more »
|
|
DiScoTec 2010: Call for Workshop Proposals
|
| |
[We apologize for multiple copies] DisCoTec 2010 5th International Federated Conferences on Distributed Computing Techniques Amsterdam, Netherlands, 7-9 June 2010 Call for Workshop Proposals A workshop is intended to provide a forum for members of a focused research... more »
|
|
New release of the Caml Examples collection
|
| |
[Version française ci-dessous] The Caml Examples package is a large set of Caml example programs. Most of the programs are provided both in Objective Caml and in Caml Light. This new enhanced version of the Caml Examples package contains the complete set of examples from the book ``Le langage Caml'' in Objective Caml (and... more »
|
|
Polymorphic functors / modules and OCaml-R
|
| |
Hello. I've been trying stuff like these: ...Is there a way, somehow, of introducing such polymorphism in modules / functors? That would help me a lot. I'm currently try to write bindings for R code, with OCaml-R, and I can come up with stuff like this: ...What would be nice would be Description to be polymorphic in some sense... more »
|
|
|