Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* infix operator for the revised syntax
@ 2004-11-30 18:50 Arturo Borquez
  2004-12-01 11:43 ` [Caml-list] " Michel Mauny
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borquez @ 2004-11-30 18:50 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-01 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 18:50 infix operator for the revised syntax Arturo Borquez
2004-12-01 11:43 ` [Caml-list] " Michel Mauny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox