From: artboreb@netscape.net (Arturo Borquez)
To: caml-list@inria.fr
Subject: infix operator for the revised syntax
Date: Tue, 30 Nov 2004 13:50:55 -0500 [thread overview]
Message-ID: <29C8881F.307FAC54.00958B05@netscape.net> (raw)
Dear Camlers,
I've failed do do a syntax extention to the
revised syntax in order to get a *real* infix operator
for function concatenation in order to avoid
excessive parenthesis.
example with lists (silly)
let ( $ ) f g = g (f);; (* provided by normal syntax works fine *)
let r = List.map ... a_list $ List.sort ... $ List.fold_left ... in ..
(* that's i whant to write with the revised syntax *)
let r = List_fold_left ... ((List.sort ...) List.map ... a_list) in ..
thanks in advance
--
Arturo Borquez
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
next reply other threads:[~2004-11-30 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-30 18:50 Arturo Borquez [this message]
2004-12-01 11:43 ` [Caml-list] " Michel Mauny
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=29C8881F.307FAC54.00958B05@netscape.net \
--to=artboreb@netscape.net \
--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