core.match

Doesn't match 'head & tail' in vector matching.

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Following code:

(match [[:plus 1 2 3]]
[[:pow arg pow]] 0
[[:plus & args]] 1
:else 2)

Returns 2, but must return 1.

If we delete first clause it works:

(match [[:plus 1 2 3]]
[[:plus & args]] 1
:else 2)

Returns 1.

Activity

David Nolen made changes -
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
David Nolen made changes -
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Completed [ 1 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: