Version française
Home     About     Download     Resources     Contact us    
Browse thread
How to cleanly encode "quasi-constants"?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi VANICAT <remi.vanicat@l...>
Subject: Re: How to cleanly encode "quasi-constants"?
Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> writes:

> I am not sure I understand your point, but the construction "let var =
> ..." does not define *compile time* constants: the expression "..." is
> computed at *run time*. It can be any computation.

I have a question about this : is there a way to make easily a compile
time constants?
(if i have a let var = func constant_argument, and i know that this
can't change from an execution to an other, i want it to be evaluated
only once)

-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat