caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Question on performance/style issue
@ 2006-02-24 15:52 Alessandro Baretta
  2006-02-24 19:05 ` [Caml-list] " Anil Madhavapeddy
  2006-03-01  5:45 ` Nathaniel Gray
  0 siblings, 2 replies; 10+ messages in thread
From: Alessandro Baretta @ 2006-02-24 15:52 UTC (permalink / raw)
  To: Ocaml

I am very fond of the following "duality" operator.

let (++) x f = f x

I use to write complex computations legibly: instead of
 > h(g(f(x)))
I write
 > x ++ f ++ g ++ h

What is the impact of the this programming style on execution performance?

Alex

-- 
*********************************************************************

Ing. Alessandro Baretta

Studio Baretta
http://studio.baretta.com/

Consulenza Tecnologica e Ingegneria Industriale
Technological Consulting and Industrial Engineering

tel. +39 02 370 111 55
fax. +39 02 370 111 54


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

end of thread, other threads:[~2006-03-01  8:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-24 15:52 Question on performance/style issue Alessandro Baretta
2006-02-24 19:05 ` [Caml-list] " Anil Madhavapeddy
2006-02-24 19:25   ` Alessandro Baretta
2006-02-25 11:14     ` Andrej Bauer
2006-02-27 22:37       ` David M. Cooke
2006-02-27 23:49         ` [Caml-list] " David Brown
2006-02-28 12:02           ` Alessandro Baretta
2006-02-28 12:04       ` [Caml-list] " Alessandro Baretta
2006-03-01  5:45 ` Nathaniel Gray
2006-03-01  8:34   ` Alessandro Baretta

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).