caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Whitington <john@coherentgraphics.co.uk>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] Adding functions to Pervasives
Date: Tue, 07 Jan 2014 11:46:44 +0000	[thread overview]
Message-ID: <52CBE924.4070102@coherentgraphics.co.uk> (raw)

Hi,

I'm building a patch for OCaml which requires adding a couple of 
functions to Pervasives.

I have modified stdlib/pervasives.ml(i) and 
otherlibs/threads/pervasives.ml to add these new (pure ocaml) functions.

This builds, but the resulting ocaml toplevel gives

   Fatal error: exception Env.Error()

on startup. This is on a clean checkout, save for my simple changes.

Is there some magic needed when adding something to Pervasives?

Thanks,

-- 
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com/


             reply	other threads:[~2014-01-07 11:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 11:46 John Whitington [this message]
     [not found] ` <E51C5B015DBD1348A1D85763337FB6D9E0297FE7@Remus.metastack.local>
2014-01-07 17:25   ` John Whitington

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=52CBE924.4070102@coherentgraphics.co.uk \
    --to=john@coherentgraphics.co.uk \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).