caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Infix function composition operator
@ 2010-11-10  3:19 Arlen Christian Mart Cuss
  2010-11-10  3:45 ` [Caml-list] " Yaron Minsky
  2010-11-10 13:23 ` Michael Ekstrand
  0 siblings, 2 replies; 5+ messages in thread
From: Arlen Christian Mart Cuss @ 2010-11-10  3:19 UTC (permalink / raw)
  To: caml-list

Hi all,

I know this was asked at least 12 years ago[1], but is there any
consensus or reason for there not being a "compose" function in standard
OCaml, nor an infix operator?

At the moment I tend to "let compose" or "let (<<-) f g x = f (g x)",
but I wish I didn't have to!

Thanks,
Arlen

[1]
http://webcache.googleusercontent.com/search?q=cache:TcqI7o37il8J:pauillac.inria.fr/caml/caml-list/0720.html+ocaml+function+compose&cd=2&hl=en&ct=clnk&client=ubuntu


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

end of thread, other threads:[~2010-11-10 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-10  3:19 Infix function composition operator Arlen Christian Mart Cuss
2010-11-10  3:45 ` [Caml-list] " Yaron Minsky
2010-11-10  4:37   ` Arlen Christian Mart Cuss
2010-11-10 10:06   ` DS
2010-11-10 13:23 ` Michael Ekstrand

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