6macros: discussing the finer points of Perl 6 macros, Qtrees, and how to stay sane | irclog: irclog.perlgeek.de/6macros/today
Set by moderator on 28 July 2015.
06:34 FROGGS joined 06:56 Ven joined
Ven masak: should Val::Property be exposed? 07:29
07:53 Ven joined
Ven should Val::Property always be truthy? 07:54
08:27 Ven joined 09:24 Ven joined 10:01 FROGGS joined
masak Ven: no, there's no Val::Property. that's what I meant by pairs not being first-class. :) sorry if that was unclear. 10:04
Ven o
masak it's similar to Val::Array not having a Val::Element, I guess.
Ven fair enough :P
masak it's just other Val things.
Ven so, should be stored as p6 pairs?
masak aye.
a hash should work fine. 10:05
Ven alrightey 10:06
masak (I'm still mulling about ordering. I think I might end up making .keys return in declaration order. but even then, we'd still want the hash for O(1) lookup)
Ven if you want ordering, then it can't be a p6hash 10:08
(not in the nqp sense)
masak I meant if we do ordering, we'll end up doing hash + array anyway -- so in either scenario it'll have the hash 10:11
(you don't need the ordering for what you're implementing. I'll likely need it when I get classes and inheritance) 10:12
10:15 Ven joined
Ven ok 10:15
I'll keep the Q::Property tho 10:16
masak I'm certainly willing to be convinced that it has a reason to exist. right now, I don't see it. 10:38
there's a Q::Property and a Q::Trait because they are syntactic elements.
oh, sorry. I thought you were talking about Val::Property, still :)
yeah, keep Q::Property, by all means. that's in line with what I imagined. 10:39
(...and I believe it's there for good reasons. note how 007 favors syntactic introspection more than making everything first-class)
dinner & 10:52
11:22 Ven joined 12:33 Ven joined
masak oh, the travis failures in PR are because of the outmoded Str methods. 13:51
16:45 Ven joined
Ven yeah, I fixed them locally on the day I rebased :) 16:48
I didn't get any time today, I did go to the entreprise to sign my contract and stuff
17:31 FROGGS joined 17:58 vendethiel joined
masak new job? congrats. 23:35