On 02/11/10 17:43, Nigel Kersten wrote:
> On Tue, Nov 2, 2010 at 4:32 PM, Patrick <[email protected]> wrote:
>> *) Would creating a function that says, 'return the first argument
>> that doesn't throw an exception' be useful? *) Is it even feasible
>> to write?
> 
> maybe... I'm having trouble thinking of a decent name for this though
> :)

It could be "coalesce" (which is used in SQL for almost the same
function), but since this word also has the meaning of merging, it might
defeat the purpose :)

-- 
Brice Figureau
My Blog: http://www.masterzen.fr/

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to