of one, I think you have to do:
let rec lex_stream i acc =
match try Some (lex_stream i) with LexingEnd - None with
| None - rev acc
| Some s - lex_stream i (a::acc)
Hopefully that option type doesn't slow things down too much.
Cheers,
--
John Whitington
Director, Coherent Graphics Ltd
http
arguments or polymorphic variants.
But it's perfectly feasible. I converted said 15000 lines of code in a
few days.
Cheers,
--
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml-list mailing list. Subscription management
to your source are easy to make. This should
be the last release with such changes.
There is now a CamlPDF mailing list:
http://www.freelists.org/list/camlpdf
--
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml
in a few weeks, with some new
functionality and a new introductory manual, making it easier for people
to get into its somewhat complicated API.
Thanks to the list for your continuing answers to my questions.
Cheers,
--
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com
is no problem.
Cheers,
--
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list
memory available
should be roughly equivalent concepts (like with Linux), but sometimes it's
easier to give in - after all, how are you to estimate the size you actually
need accurately?
Cheers,
--
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com
say) performance is to be considered.
Cheers,
--
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http
Hi.
On 3 Sep 2009, at 03:28, Andres Varon wrote:
On Sep 1, 2009, at 12:32 PM, John Whitington wrote:
Hi Folks,
Has anyone managed this? Bytecode seems fine, native not so.
I've tried just ./configure and ./configure -cc gcc -m64 with the
source bzip of 3.11.1 as suggested in INSTALL. Both
-
related perhaps?
Any suggestions as to how I might go about further debugging this?
With Thanks,
--
John Whitington
Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin
Hi Basile,
On 19 Feb 2009, at 17:34, Basile STARYNKEVITCH wrote:
John Whitington wrote:
int fromFile(char* filename)
{
return(Int_val(caml_callback(*caml_named_value(fromFile),
caml_copy_string(filename;
}
You need to follow Ocaml strong garbage collection related rules
Hi.
On 20 Jan 2009, at 17:03, John Whitington wrote:
I'm building a Plain C interface to our PDF libraries, but am stuck.
The idea is to build a library with Ocamlmklib containing the C
wrapper around the ocaml code.
Thanks to those who helped me here - I finally settled on a modified
()
{
printf(Twice two is %i\n, twice_c(2));
return(0);
}
Here's a zip containing those files: http://www.coherentpdf.com/files.zip
Any ideas?
--
John Whitington
Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml-list mailing list
On 1 Jun 2008, at 22:06, Sylvain Le Gall wrote:
On 29-05-2008, John Whitington [EMAIL PROTECTED] wrote:
I'm compiling OCaml command-line software with the MSVC toolchain on
Windows. Users have noticed two problems:
(a) When output (such as the --help) is done on Windows, the help
doesn't
it fix your
problem too?
This does indeed fix the problem here. Thanks!
--
John Whitington
Coherent Graphics Ltd
http://www.coherentpdf.com/
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml
is exiting cleanly.
All the open_in and open_out calls are using the _bin variant. The
data being sent down the pipe is a PDF file (which contains binary
sections).
Neither of these problems occur on Linux / Mac builds - is there
something about windows pipes I should know?
--
John Whitington
15 matches
Mail list logo