Thanks!
Am 23.12.2011 16:10 schrieb "Steve Miner" :
>
> On Dec 22, 2011, at 10:54 PM, Herwig Hochleitner wrote:
>
> I want to match vectors of the form [(some expr) :as :label], but #(match
> [%] [[expr :as (label :when keyword)]] {:expr expr :label label}) throws a
> compiler exception: Unable t
Ah Steve got to it first. Thanks!
On Friday, December 23, 2011, Steve Miner wrote:
>
> On Dec 22, 2011, at 10:54 PM, Herwig Hochleitner wrote:
>
> I want to match vectors of the form [(some expr) :as :label], but
#(match [%] [[expr :as (label :when keyword)]] {:expr expr :label label})
throws a
Been a bit busy will look into this and respond later today.
On Thursday, December 22, 2011, Herwig Hochleitner
wrote:
> Hi,
> I want to match vectors of the form [(some expr) :as :label], but
#(match [%] [[expr :as (label :when keyword)]] {:expr expr :label label})
throws a compiler exception:
On Dec 22, 2011, at 10:54 PM, Herwig Hochleitner wrote:
> I want to match vectors of the form [(some expr) :as :label], but #(match
> [%] [[expr :as (label :when keyword)]] {:expr expr :label label}) throws a
> compiler exception: Unable to resolve symbol expr
>
If you want to match a liter
Herwig Hochleitner writes:
Hi Herwig,
> I want to match vectors of the form [(some expr) :as :label], but #(match
> [%] [[expr :as (label :when keyword)]] {:expr expr :label label}) throws a
> compiler exception: Unable to resolve symbol expr
Isn't the order value/key in map pattern?
{expr
Hi,
I want to match vectors of the form [(some expr) :as :label], but #(match
[%] [[expr :as (label :when keyword)]] {:expr expr :label label}) throws a
compiler exception: Unable to resolve symbol expr
How do I do this?
kind regards
--
_