| releasable6 | Next release in ≈1 day and ≈15 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft | 03:00 | |
|
04:05
lue joined
04:06
ShimmerFairy left
04:19
lue is now known as ShimmerFairy
|
|||
| ab5tract | I'm confused about lazy list handling in feed operators | 09:48 | |
| As far as I can tell, there is no way to create a call that takes a single element. But that seems to be a necessary feature for handling lazy lists? | |||
| m: [1,2,3].roll(*) ==> say() | 09:49 | ||
| camelia | (...) | ||
| ab5tract | m: [1,2,3].roll(*) ==> { $_ + 5 }() ==> dd() | 09:50 | |
| camelia | Failure.new(exception => X::Cannot::Lazy.new(action => ".elems", what => "")) | ||
| ab5tract | m: [1,2,3].roll(*) ==> { $_.map: * + 5 }() ==> dd() | ||
| camelia | (7, 6, 6, 8, 6, 6, 8, 6, 8, 8, 7, 8, 8, 7, 8, 7, 6, 7, 7, 8, 7, 6, 7, 8, 8, 7, 6, 8, 8, 6, 6, 8, 6, 8, 6, 7, 6, 7, 7, 7, 7, 7, 7, 6, 6, 7, 7, 7, 7, 8, 8, 6, 7, 6, 8, 8, 7, 6, 8, 7, 7, 7, 8, 6, 7, 6, 6, 8, 7, 6, 6, 6, 8, 6, 6, 8, 8, 7, 6, 6, 7, 7, 8, 8… | ||
| ab5tract | I don't see any great utility in feed operators if you still have to call map? | 09:52 | |
| Well nevermind, my main concern was that objects implementing .append can't be combined, but it looks like I was doing a dumb by using for instead of .map | 09:55 | ||
| timo | m: [1,2,3].roll(*) ==> map { $_ + 5 } ==> dd() | 09:58 | |
| camelia | (7, 8, 7, 8, 6, 8, 6, 6, 7, 8, 7, 6, 7, 8, 8, 8, 6, 6, 8, 6, 6, 7, 6, 6, 6, 8, 6, 8, 7, 8, 7, 8, 6, 7, 8, 8, 6, 7, 6, 8, 7, 7, 6, 8, 8, 6, 8, 7, 8, 7, 7, 6, 6, 8, 8, 8, 7, 7, 6, 6, 7, 8, 8, 6, 7, 6, 6, 6, 6, 8, 7, 7, 8, 6, 7, 6, 6, 8, 7, 8, 6, 8, 8, 8… | ||
| ab5tract | Here's a gist that demonstrates some of my struggle with feeds | 11:41 | |
| An aside, but still about feeds.. I'm wondering whether we could ever allow Callables instead of Calls for the pipeline expressions | 11:42 | ||
| (gist: gist.github.com/ab5tract/954fe3b45...6892197c9) | 11:43 | ||