From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28539 invoked by alias); 7 Sep 2016 22:53:35 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21849 Received: (qmail 21711 invoked from network); 7 Sep 2016 22:53:35 -0000 X-Qmail-Scanner-Diagnostics: from out4-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.28):SA:0(0.0/5.0):. Processed in 0.138309 secs); 07 Sep 2016 22:53:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=lzqelG7QqB550BeV cfZQvelpvrQ=; b=EK+A9wLWwMyRCJHPRSZ6GfH9uTwikBvGYAeL0UDK5jZQlr5y ZJiP774iI+BLH9L9G9I5SDKe9qP9v4ekmKgFZZWURBtcoyVj+J1L82cbt5ZZOUSk pBdZn6z/xLKoFoQ9jwTSWYEOHGiRN9gKIrjoyJG6BpEwsANqViINc/IuBvY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=lzqelG7QqB550Be VcfZQvelpvrQ=; b=uParL2GfKAv9OUIN25zzGMbY+zBahZHWL5iML2nrSJGhEAk MbnEqGrSERO2W97ScowBqDitXeMx42CTQLK9zk/n0a8WVT6JL5nupBJvnataXn9v L0S0GI7CIaVV0k+p7Cq6E/SBhWobeW/TBRaBkdlsSgIQUQf4uvArSjvWhx6E= X-Sasl-enc: cfHIQ1KGTnmpD+pBRhQzPCIDUSZdlRegOHg4Y+EtR0G0 1473288812 Date: Wed, 7 Sep 2016 22:52:50 +0000 From: Daniel Shahaf To: Sebastian Gniazdowski Cc: Zsh Users Subject: Re: Implement a key-value deserialization or something similar Message-ID: <20160907225250.GC7775@fujitsu.shahaf.local2> References: <20160906002016.GB30336@fujitsu.shahaf.local2> <160907010525.ZM11771@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sebastian Gniazdowski wrote on Wed, Sep 07, 2016 at 20:26:31 +0200: > On 7 September 2016 at 10:05, Bart Schaefer wrote: > > On Sep 6, 12:20am, Daniel Shahaf wrote: > > To more explicitly state what I think what Daniel is means with his > > second example, the notion is that you can string key-value pairs > > along in the argument list as ordinary arguments as long as you know > > how many of the leading arguments are meaningful. E.g. if your > > function takes four arguments, you can extend it like this: > > > > Yes, realized that after multiple hints, Sorry I wasn't clear. I'd have been happy to clarify, but I saw no followup questions on list. Bart — thanks for explaining my answer. > however still needed the > "concatenated string" data too, because much is to be passed. Single entry > looks like this (fixed columns skipped) and consists of in this case two > triples: > > unit /Users/sgniazdowski/workspace/QtZekyllManager/libgit2 > :MAKEFILE:1:CMAKELISTS:1: project > /Users/sgniazdowski/workspace/QtZekyllManager > :GIT:1:MAKEFILE:1:CMAKELISTS:1:PRO:1: Cheers, Daniel > Best regards, > Sebastian Gniazdowski