Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] Future of labels
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-17 (20:02)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] How do I define prog1?

>Since Caml's order of evaluation is unspecified, I don't think there's
>any other solution than to use a CamlP4 macro.

I wonder if you could use the Lazy module to ensure order of evaluation.  You'd have to prefix all the expressions with lazy, so it might be a mess.


To unsubscribe, mail  Archives: