Browse thread
Re: [Caml-list] Future of labels
-
Yaron M. Minsky
-
Jacques Garrigue
-
Judicael Courant
- Markus Mottl
- kahl@h...
- Chris Hecker
-
Judicael Courant
-
Jacques Garrigue
[
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: | 2001-04-17 (17:55) |
From: | Stefan Monnier <monnier+lists.caml/news/@r...> |
Subject: | Re: [Caml-list] How do I define prog1? |
>>>>> "Mattias" == Mattias Waldau <mattias.waldau@abc.se> writes: > I would like to define a (prog1 a b) which first evaluates a, then b, and > returns the value of a. Since Caml's order of evaluation is unspecified, I don't think there's any other solution than to use a CamlP4 macro. Stefan ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr