Browse thread
Ocaml compiler features
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Ocaml compiler features |
On Sunday 14 January 2007 18:41, you wrote: > On Sun, Jan 14, 2007 at 06:23:32PM +0000, Jon Harrop wrote: > > It will if you do something more productive with camlp4, like > > try...finally or ... > > and create lots of different syntax which make the code unsharable at > the end (each one using different syntaxes). Does it make code unsharable or can you apply multiple camlp4 macros to one piece of code? > I think camlp4 is the not the proper way to extends the language, and is > definitevely *NOT* going to improve the world of OCaml. Camlp4 may be the best we have. I can't wait to see the next generation... Playing with Haskell and F# has opened my eyes a bit. F#'s operator overloading and active patterns will make my code much nicer. Being lazier can simplify things until you have to optimise, in which case it suddenly becomes really complicated and error prone. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists