shithub: werc

Download patch

ref: 6c484dec92e3274a41d63a0267d21a30b31caaa6
parent: 41bc14de01682065fd6156cb4bf7a5e8f8342fa5
author: uriel <[email protected]>
date: Thu Jan 8 11:46:00 EST 2009

Add nested lists rc helper

--- a/bin/cgilib.rc
+++ b/bin/cgilib.rc
@@ -132,6 +132,15 @@
 }
 
 
+##############################################
+# Generic rc programming helpers
+
+fn ll_add {
+    l = $1^_^$#$1
+    $l = $*(2-)
+    $1=( $$1 $l )
+}
+
 
 ##############################################
 # More werc-specific functions