neilhwatson / evolve_cfengine_freelib

Evolve Thinking's free Cfengine promise library.
18 stars 5 forks source link

A single JSON using bundle might replace efl_global_strings and efl_global_slists #11

Open neilhwatson opened 9 years ago

neilhwatson commented 9 years ago

Just read a JSON, but how to shuffle lists?

tzz commented 9 years ago

Data containers are read-only, so a shuffler would have to either go through an slist (in which case, go getvalues -> slist -> shuffle -> mergedata back to a data container); or we'd need a new data_shuffle function just for data containers.

I would prefer the function, but it's unlikely to find favor.