Browse thread
[Caml-list] kprintf with user formatters
[
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: | William Lovas <wlovas@s...> |
| Subject: | Re: lazyness in ocaml (was : [Caml-list] kprintf with user formatters) |
On Fri, Jul 23, 2004 at 09:00:49AM +1000, skaller wrote: > How about sugar: > > \(expr) <==> lazy expr > > Since arguments to be lazily evaluated are never variables, > they're often going to be surrounded in brackets already, > and so this is only a single character .. > a lazy way to spell lazy .. and a very easy implementation :) ... and this is a lot like Okasaki's $ proposal, also mentioned in Wadler's paper on lazy notation in strict languages[1]. There really is nothing new under the sun :) William [1] http://homepages.inf.ed.ac.uk/wadler/papers/lazyinstrict/lazyinstrict.txt ------------------- 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