From d01d89becfda41a78b3c1a585aae6ad54a153a1b Mon Sep 17 00:00:00 2001 From: Uriel Date: Thu, 8 Jan 2009 16:46:00 +0100 Subject: [PATCH] Add nested lists rc helper --- bin/cgilib.rc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/cgilib.rc b/bin/cgilib.rc index fd91744..9a88b00 100644 --- a/bin/cgilib.rc +++ b/bin/cgilib.rc @@ -132,6 +132,15 @@ fn get_cookie { } +############################################## +# Generic rc programming helpers + +fn ll_add { + l = $1^_^$#$1 + $l = $*(2-) + $1=( $$1 $l ) +} + ############################################## # More werc-specific functions