[Prev][Next][Index][Thread]

Re: small Q



Hugh Greene <q@tardis.ed.ac.uk> writes:

> [Aside:
> I like ML's ability to define new operators, which it uses to make
> "o" (I read it as "of") the operator for composition:
> 
>   (baz o bar o foo)(x)  (* "baz of bar of foo of x" *)

One notation for function composition in maths is a small empty circle
in the middle of the line.  I think the lower-case o in ML is meant to
look a bit like this.

    Andy
-- 
Andy Smith                                             ams70@cam.ac.uk
St John's College, Cambridge, CB2 1TP, UK               (07989) 453208



References: