_std/macros/list.dm
LAZYLISTOR | Add an item to the list if not already present, if the list is null it will initialize it |
---|---|
LAZYLISTSETLEN | Sets the length of a lazylist |
LAZYLISTADDASSOC | Adds the value V to the key K - if the list is null it will initialize it |
LAZYLISTREMOVEASSOC | Removes the value V from the key K, if the key K is empty will remove it from the list, if the list is empty will set the list to null |
LAZYLISTACCESSASSOC | Accesses an associative list, returns null if nothing is found |
Define Details
LAZYLISTACCESSASSOC
Accesses an associative list, returns null if nothing is found
LAZYLISTADDASSOC
Adds the value V to the key K - if the list is null it will initialize it
LAZYLISTOR
Add an item to the list if not already present, if the list is null it will initialize it
LAZYLISTREMOVEASSOC
Removes the value V from the key K, if the key K is empty will remove it from the list, if the list is empty will set the list to null
LAZYLISTSETLEN
Sets the length of a lazylist