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.
00:21 vendethiel joined 03:15 pdcawley joined 04:54 vendethiel joined 06:51 pdcawley joined 09:34 andreoss joined
masak only one operator left on github.com/masak/007/issues/57 ! :D 10:14
actually, that last one could be implemented in pure 007. 10:15
10:27 pdcawley joined
andreoss $ 007 -e='sub infix:<is>(a,b) { if type(a) == b { return 1 } else { return 0 } }; say(1 is Int); say("a" is Str); say([1,2] is Array); say(({ a: 1 }) is Array); ' 10:29
where should pure 007 definition be placed? 10:35
11:06 vendethiel joined
masak good question 12:45
perhaps best to implement it as Perl 6 for now 12:48
since we probably want to do our own error handling, too
we *might* head towards having a 'setting' that's actually written in 007 at some point
but not today :)
14:03 pdcawley joined
masak fun discovery: when you do fuzzing of source code, you need to restrict not just the time it takes for the tests to run, but also the size of the output they leave behind ;) 15:38
16:23 vendethiel joined 16:52 pdcawley joined 17:14 andreoss` joined 18:45 pdcawley joined 20:55 vendethiel joined