caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: stalkern2 <stalkern2@tin.it>
To: caml-list@inria.fr
Subject: [Caml-list] Développement d'applications avec Objective  Caml... [< >] in 3.04?
Date: Fri, 1 Feb 2002 20:47:01 -0500	[thread overview]
Message-ID: <20020201194134.TCTL18883.fep41-svc.tin.it@there> (raw)

Hello to everybody

I'm studying the book of Chailloux, Manoury and Pagano and I' m now taking 
into considerations the streams.
Using a plain ocaml prompt with Ocaml 3.04 on a RedHat box (coming from a 
rpm), I get

# let foo = [< >];;
               ^^
Syntax error

I get the same error on a MacOS 9 box, using the standard Ocaml distribution.

I have plenty of expressions parenthesized with [< >] in the source 
distribution, and I learnt that I could optionally use [: :] if I say so to 
Camlp4. But neither [< >] nor [: :], that gives 
# let foo = [: :];;
                ^
Syntax error
is accepted by the copies of the interpreter that I'm using, and I feel stuck.

Should I make a different toplevel giving special indications and links?

Sorry for bothering you. Think that you've (likely) been a beginner also... 
once upon a time. By the way, I think that ocaml would be more widespread 
than C if it only had 20% of its documentation and ease of consulting; I'd 
have never started with it without the book of Chailloux, Manoury and Pagano 
(that I thank).

Thanks
Ernesto 

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2002-02-01 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-02  1:47 stalkern2 [this message]
2002-02-01 20:05 ` Remi VANICAT

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=20020201194134.TCTL18883.fep41-svc.tin.it@there \
    --to=stalkern2@tin.it \
    --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).