From: Matt Gushee <mgushee@havenrock.com>
To: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Adding libraries to mod_caml
Date: Thu, 15 Apr 2004 12:35:56 -0600 [thread overview]
Message-ID: <20040415183556.GA4352@swordfish> (raw)
In-Reply-To: <20040415093447.GA26365@bourg.inria.fr> <20040415090007.GA32281@redhat.com>
On Thu, Apr 15, 2004 at 10:00:07AM +0100, Richard Jones wrote:
> On Wed, Apr 14, 2004 at 02:42:57PM -0600, Matt Gushee wrote:
> > Ah! Well, that's a start. But now when I restart Apache, I get:
> >
> > Failure("error while linking /opt/ocaml/lib/site-lib/ocre/ocre.cma")
> > Undefined global 'Stream'.
>
> I'm not really familiar with Stream. Is that included in the standard
> library (ie. stdlib.cma)?
Oh, yes. That's why I made that facetious remark about CamlLoading the
standard library.
> I'm not sure why the ALL_CMAS trick you mention in your original
> posting doesn't work. Perhaps you didn't install the new version of
> mod_caml or restart Apache?
The above error was triggered by restarting Apache. However, I was in
fact not using the latest version (it was 1.0.6). I must confess I have
this semi-philosophical, semi-emotional resistance to *blindly*
upgrading things in the hope that it will fix the problem of the moment.
But if you think it will help I'll try it.
On Thu, Apr 15, 2004 at 11:34:47AM +0200, Basile Starynkevitch wrote:
>
> There is a Stream module inside the standard library. It is mostly
> useful when using the stream syntactic extension (provided by camlp4).
Almost true, but not quite: we are specifically admonished *not* to use
Stream module streams (e.g. Stream.of_string "abcde") with literal
streams ([< 'foo; 'bar >])--which limits the usefulness of the Stream
module. But it can be helpful for tasks that involve scanning a string
character-by-character.
Many thanks to all who responded. I'll report back after trying the
latest mod_caml.
--
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USA Horses bear manure through
mgushee@havenrock.com its fields;
http://www.havenrock.com/ When a nation ignores the Way,
Horses bear soldiers through
its streets.
--Lao Tzu (Peter Merel, trans.)
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-04-15 18:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-14 19:30 Matt Gushee
2004-04-14 20:10 ` Michael Hoisie
2004-04-14 20:42 ` Matt Gushee
2004-04-15 9:00 ` Richard Jones
2004-04-15 9:34 ` Basile Starynkevitch
2004-04-15 18:35 ` Matt Gushee [this message]
2004-04-15 21:50 ` Richard Jones
2004-04-15 17:46 ` Benjamin Geer
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=20040415183556.GA4352@swordfish \
--to=mgushee@havenrock.com \
--cc=caml-list@pauillac.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