You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
625 B
19 lines
625 B
2 years ago
|
|
||
|
# this should run 'list a b c tail'
|
||
|
catch {
|
||
|
|
||
|
% x.=/0* tail |> {puts $data;set data} <in| list a b c
|
||
|
|
||
|
}
|
||
|
|
||
|
#should it then be able to run pipelines as 'args'
|
||
|
% x.=/0* |> {puts $data;set data} <in| % y.= list etc blah |> string toupper
|
||
|
|
||
|
#but then what would happen if the args pipeline also took input via another <| ?
|
||
|
#% x.=/0* |> {puts $data;set data} <in| % y.= list etc blah <| list data
|
||
|
|
||
|
#presumably pipelines shouldn't be passed in as expanded lists..
|
||
|
|
||
|
|
||
|
% out= x= |> {puts $data; set data} |p1/0> .= { {*}$p1 } |> {puts $data;set data} <in| [list % y.= list etc blah |> string toupper]
|