[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10212)

Aleksey Nogin nogin at metaprl.org
Tue Mar 13 12:53:26 PDT 2007


On 13.03.2007 12:24, Jason Hickey wrote:

> Cool!  Also, note that for documentation purposes, it should be 
> mentioned that prompt() can be a function.  For example, this is what I 
> have (in the old terminal style):
> 
> prompt() =
>     return $"<$(USER)@$(HOST) $(homename $(CWD)) $(history-index)>"
> 
> When it is a function, things like CWD work as expected.

Oh, I see. Well, now that I think about it, there is not that much 
difference between a function and a lazy value... Note that my version 
contains a mixture of eager and lazy, but that can also be replicated in 
the function case.

Aleksey


More information about the OMake-Devel mailing list