From: Oleg <oleg_inconnu@myrealbox.com>
To: Alessandro Baretta <alex@baretta.com>, ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] streams syntax
Date: Mon, 17 Feb 2003 17:58:49 -0500 [thread overview]
Message-ID: <200302171758.49590.oleg_inconnu@myrealbox.com> (raw)
In-Reply-To: <3E5168C0.6050004@baretta.com>
On Monday 17 February 2003 05:57 pm, Alessandro Baretta wrote:
> Oleg wrote:
> > Hi
> >
> > Is the [< ... >] syntax for streams deprecated? No one seems to have told
> > me...
> >
> > $ ocaml
> > Objective Caml version 3.06
> >
> > # [< '1; '2 >];;
> > Syntax error
> >
> >
> > Oleg
>
> Look into the CamlP4 manual. You'll find them there.
>
> Here's an example.
>
> [alex@athlon alex]$ ledit ocaml
> Objective Caml version 3.06
>
> # #load "camlp4o.cma";;
> Camlp4 Parsing version 3.06
>
> # [< '1 >];;
> - : int Stream.t = <abstr>
Thanks, this works. O'Reilly book doesn't mention that Camlp4 is needed for
this.
Oleg
-------------------
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:[~2003-02-17 23:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-17 22:37 Oleg
2003-02-17 22:57 ` Alessandro Baretta
2003-02-17 22:58 ` Oleg [this message]
2003-02-17 23:13 ` Issac Trotts
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=200302171758.49590.oleg_inconnu@myrealbox.com \
--to=oleg_inconnu@myrealbox.com \
--cc=alex@baretta.com \
--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