Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow [Z] and such on indirect lols
We can now reduce with list infixes over an arbitrary number of lists.
  • Loading branch information
TimToady committed Mar 26, 2015
1 parent c5ba5b8 commit 9210cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/metaops.pm
Expand Up @@ -181,7 +181,7 @@ sub METAOP_REDUCE_LISTINFIX(\op, :$triangle) {
}
}, :infinite(p.infinite))
}
!! sub (|values) { my \p = values[0]; op.(|p) }
!! sub (|values) { my \p = values[0]; nqp::iscont(p[0]) ?? op.(|p.map({nqp::decont($_).list.Parcel})) !! op.(|p) }
}


Expand Down

0 comments on commit 9210cc6

Please sign in to comment.