Vasiliy G Tolstov <[email protected]> writes: > is there are any plans to add support to append value to slist ? > > For example: > > "a" slist => { "1", "2" }; > "a" slist => { "$(a)", "3" };
+1
I think the '"name" *list => {}' construct could be seen as: promise to
have elements listed in '{}' in the list named 'name'.
My point is:
- a list construct define a list variable if it's not already defined
- then add the listed elements if they are not presents
Maybe an 'append=>' and 'prepend=>' could be used instead of overloading
'*list=>' and changing its meaning?
Regards.
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
pgpXZ8qccfG3D.pgp
Description: PGP signature
_______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
