felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-5465) [gogo][runtime] No way to concatenate arrays
Date Thu, 22 Dec 2016 10:37:58 GMT

     [ https://issues.apache.org/jira/browse/FELIX-5465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet updated FELIX-5465:
-----------------------------------
    Description: 
There's no way to easy concatenate arrays.
We should have 
{code}
g! a = [1 2 3]
1
2
3

g! b = [ a b c ]
a
b
c

g! c = [ ${a[@]} ${b[@]} ]
1
2
3
a
b
c

{code}

  was:There's no way to easily concatenate arrays.


> [gogo][runtime] No way to concatenate arrays
> --------------------------------------------
>
>                 Key: FELIX-5465
>                 URL: https://issues.apache.org/jira/browse/FELIX-5465
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: gogo.runtime-1.0.4
>
>
> There's no way to easy concatenate arrays.
> We should have 
> {code}
> g! a = [1 2 3]
> 1
> 2
> 3
> g! b = [ a b c ]
> a
> b
> c
> g! c = [ ${a[@]} ${b[@]} ]
> 1
> 2
> 3
> a
> b
> c
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message