From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Helmut Brandl <helmut.brandl@gmx.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] js_of_ocaml with node
Date: Mon, 27 Apr 2015 23:11:39 +0200 [thread overview]
Message-ID: <B185D809FFAC48F7B72EF16DA8FA16DE@erratique.ch> (raw)
In-Reply-To: <553E9CD0.5040203@gmx.net>
Le lundi, 27 avril 2015 à 22:32, Helmut Brandl a écrit :
> Can anybody give me some hints on how to get these two functions in a
> way that js_of_ocaml does the correct compilation?
If you are getting unknown primitive errors at link time then you can simply try to implement them yourself using node's filesystem APIs see:
http://ocsigen.org/js_of_ocaml/2.5/manual/linker
If you are not concerned about using Unix directly (because node.js is your only target) and simply need these functions you can bind the corresponding node API functions directly:
http://ocsigen.org/js_of_ocaml/2.5/manual/bindings
Best,
Daniel
next prev parent reply other threads:[~2015-04-27 21:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 20:32 Helmut Brandl
2015-04-27 21:02 ` Sébastien Dailly
2015-04-27 21:16 ` Helmut Brandl
2015-04-28 7:08 ` Sébastien Dailly
2015-04-27 21:11 ` Daniel Bünzli [this message]
2015-04-27 22:03 ` Alain Frisch
2015-04-27 22:41 ` Daniel Bünzli
2015-04-28 7:53 ` Alain Frisch
2015-04-28 8:11 ` Alain Frisch
2015-04-28 11:17 ` Drup
2015-04-29 22:03 ` Helmut Brandl
2015-04-29 22:49 ` Mauricio Fernández
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B185D809FFAC48F7B72EF16DA8FA16DE@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=caml-list@inria.fr \
--cc=helmut.brandl@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox