http://qs321.pair.com?node_id=194208


in reply to Re: Re: Re: Isn't that nice?
in thread Isn't that nice?

Yes, it looks a little bit like OCaml (i.e. I'm not sure this has never been seen in any other language). :-)

# let divide ~x ~y = x / y;; val divide : x:int -> y:int -> int = <fun> # let half = divide ~y:2;; val half : x:int -> int = <fun> # half 120;; - : int = 60