Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Q: Correct locations for macro camlp4 extensions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Q: Correct locations for macro camlp4 extensions
On Mon, Aug 23, 2004 at 01:21:25PM -0400, Michael Alexander Hamburg wrote:
> [...] Or does it enable 
> expressions like (/ 5) or (+ 3) as in Haskell (that would be cool...)?

You mean like:

# let f = ((/) 5);;
val f : int -> int = <fun>
# f 1;;
- : int = 5

and similarly ((+) 3)?  Or do these expressions do something more
profound that I can't now recall? -- It's been a good 10 years since I
did any serious Haskell.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://www.winwinsales.co.uk/ - CRM improvement consultancy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners