Wirawan Purwanto
501552a65a
* Added zip_gen() to simulate the effect of built-in zip() function, but
...
implemented as a generator rather than yielding the list right away.
This is used mainly in loops, where we don't want to generate all the
elements due to memory concerns.
13 years ago
Wirawan Purwanto
41079fd92c
* sugar: Added is_iterable().
13 years ago
wirawan
2a30c20a79
* Added dict_islice to support slicing while ignoring non-existing keys
...
in the source dict.
14 years ago
wirawan
3fbc20ddb0
* Correction on notes.
14 years ago
wirawan
5392a71943
* Correcting minor mistake.
14 years ago
wirawan
f1b8746147
* Updating Parameters class: now based on dict.
...
* Can add two Parameters together, which means joining the two or more dicts,
much like what function dict_join does.
14 years ago
wirawan
fcba27ae24
* Added list_join, much like dict_join, except for list.
...
* Added ranges "magic" object to define piecewise ranges.
14 years ago
wirawan
ffd21689be
* Parameters class: a way to look for parameters in definite search order
...
across functions, so that these parameters do not have to be passed in
kitchen-sink manner.
WARNING: STILL UNDER TESTING.
15 years ago
wirawan
ba3fcb6b6f
* Added: dict_join to join several dicts, with keys from latter dicts taking
...
higher precedence.
15 years ago
wirawan
37b556ded8
* Added dict_slice, a slicing tool returning a subset of a given dict
...
(or other dict-like object).
15 years ago
wirawan
5af79a8000
* Syntactic sugars for quick-and-dirty python programming.
15 years ago