caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: oliver@first.in-berlin.de
To: caml-list@inria.fr
Subject: Re: [Caml-list] Ocamlnet and sending Referrer
Date: Thu, 23 Dec 2010 20:45:48 +0100	[thread overview]
Message-ID: <20101223194548.GA2452@siouxsie> (raw)
In-Reply-To: <20101223135228.GA3651@siouxsie>

On Thu, Dec 23, 2010 at 02:52:28PM +0100, oliver@first.in-berlin.de wrote:
[...]
> 
> Hmhhh
> 
> strange,  I get syntax errors with the following:

It's not strange.

Strange is that I didn't saw the problem ;)

> 
> ===========================================================
> module Networking =
>   struct
>     open Pcre
> 
>     open Http_client
> 
>     let call = new get "http://www.ocaml.org" in
>     (call # request_header `Base) # update_field "Referer" "foobar";
[...]

Inside that module call it at toplevel, and therefore the "in" is nonsense
of course, or I had to encapsulate that stuff inside a function.

So, thanks Gerd for hinting me to the Pipeline-stuff,
and sorry for the traffic.

Ciao,
   Oliver

      reply	other threads:[~2010-12-23 19:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22 19:39 oliver
2010-12-22 23:20 ` oliver
2010-12-22 23:49 ` Gerd Stolpmann
2010-12-23 13:52   ` oliver
2010-12-23 19:45     ` oliver [this message]

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=20101223194548.GA2452@siouxsie \
    --to=oliver@first.in-berlin.de \
    --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).