00:24 dogbert17 joined 00:28 dogbert12 left 01:26 MasterDuke left 03:53 quotable6 left, greppable6 left, notable6 left, bloatable6 left, committable6 left, bisectable6 left, linkable6 left, nativecallable6 left, statisfiable6 left, coverable6 left, unicodable6 left, shareable6 left, evalable6 left, benchable6 left, squashable6 left, releasable6 left, tellable6 left, sourceable6 left 03:54 evalable6 joined, committable6 joined, nativecallable6 joined, releasable6 joined, bisectable6 joined, sourceable6 joined, tellable6 joined, bloatable6 joined 03:55 linkable6 joined, coverable6 joined, greppable6 joined, shareable6 joined 03:56 benchable6 joined, squashable6 joined, notable6 joined, statisfiable6 joined, unicodable6 joined, quotable6 joined 04:56 coverable6 left, quotable6 left, sourceable6 left, unicodable6 left, greppable6 left, bloatable6 left, nativecallable6 left, committable6 left, benchable6 left, notable6 left, statisfiable6 left, tellable6 left, squashable6 left, bisectable6 left, releasable6 left, shareable6 left, linkable6 left, evalable6 left, squashable6 joined 04:57 shareable6 joined, tellable6 joined, linkable6 joined, sourceable6 joined, nativecallable6 joined, greppable6 joined, notable6 joined 04:58 benchable6 joined, committable6 joined, unicodable6 joined, statisfiable6 joined, releasable6 joined 04:59 quotable6 joined, evalable6 joined, bloatable6 joined, coverable6 joined, bisectable6 joined 06:28 sortiz left 07:27 domidumont joined 09:09 patrickb joined
[Tux] Rakudo v2020.12-128-g3235f3e42 (v6.d) on MoarVM 2020.12-98-gf6c505dae
csv-ip5xs0.816 - 0.834
csv-ip5xs-207.873 - 8.244
csv-parser25.711 - 27.855
csv-test-xs-200.392 - 0.392
test7.934 - 8.137
test-t1.823 - 1.937
test-t --race0.870 - 0.945
test-t-2030.213 - 31.172
test-t-20 --race9.441 - 9.579
10:57 linkable6 left, evalable6 left 10:59 evalable6 joined 11:00 linkable6 joined
tbrowder hi, why does list have .first but no .last? 11:53
it has begin/end head/tail
symmetry is lta 11:54
and it's confusing
sorry, no begin 11:57
so why no begin either? 11:58
lizmat tbrowder: because "last" already exists as a sub 12:01
so it would be confusing
you can add the :end adverb to .first 12:02
m: dd ^10 .first(Int, :end)
evalable6 9
lizmat list has begin ?
tbrowder forgot about last, sorry (but i did search in docs but must have missed seeing it). didn't know about :end, thnx. i guess i'll just have to say head/tail 100 times ;-D 12:04
12:04 MasterDuke joined
lizmat dd ^10 .first(:end) 12:05
evalable6 9
lizmat I guess that's the equivalent of tail
also note that you can specify a number with head/tail
m: ^10 .tail(5)
lizmat m: dd ^10 .tail(5)
evalable6 (5, 6, 7, 8, 9).Seq
lizmat m: dd ^10 .head(5)
evalable6 (0, 1, 2, 3, 4).Seq
lizmat you can't with .first 12:06
12:16 squashable6 left, squashable6 joined 12:29 leont joined 15:20 patrickb left 15:57 patrickb joined 16:40 vrurg joined 17:04 vrurg left 17:06 vrurg joined 17:18 vrurg left 17:21 sortiz joined 17:30 vrurg joined 18:24 domidumont left 18:57 squashable6 left 18:58 squashable6 joined 20:36 patrickb left 20:41 sortiz left 22:40 kawaii left 22:41 kawaii joined