Camelia, the Perl 6 bug

IRC log for #moe, 2013-04-04

| Channels | #moe index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:58 awwaiid joined #moe
02:12 awwaiid joined #moe
06:52 melo joined #moe
07:04 awwaiid joined #moe
08:37 tobyink joined #moe
09:10 melo joined #moe
10:20 melo joined #moe
10:49 hiratara joined #moe
11:46 jnap joined #moe
12:35 jnap joined #moe
12:40 tobyink joined #moe
12:40 jasonmay joined #moe
12:50 gizmomathboy joined #moe
13:04 melo joined #moe
13:10 bluescreen joined #moe
13:13 jnap joined #moe
13:57 jnap joined #moe
14:14 melo joined #moe
14:34 jnap joined #moe
14:54 awwaiid joined #moe
15:46 jnap joined #moe
16:06 jnap joined #moe
16:08 marcus joined #moe
17:20 mucker joined #moe
17:26 jnap joined #moe
17:58 jnap joined #moe
18:18 jnap joined #moe
18:36 jnap joined #moe
18:42 marcus joined #moe
18:50 prammer aren't the sematics of "@a1 == @a2" the same in p5 and p6?  IIRC, in p6 that means "+@a1 === +@a2", which is comparing lengths
18:51 masak aye.
18:52 masak infix:<==> numifies both operands.
18:52 prammer so, does moe have === ?
18:55 masak and if so, how does it define it?
19:03 tobyink joined #moe
19:03 stevan no, it doesn't
19:03 stevan what does === do :)
19:06 masak by default, it does reference comparison of objects.
19:06 masak but there are a bunch of "value objects" in Perl 6, like numbers and strings, with an overridden .WHICH
19:07 masak since infix:<===> compares .WHICH values, the value objects will compare according to their value, not according to reference.
19:12 stevan oh, so pretty much what it means in Javascript
19:15 masak yes.
19:15 masak except I know of no way to override .WHICH in JavaScript.
19:16 sahadev joined #moe
19:16 stevan masak: yeah there probably isnt
19:16 prammer and in p6 I think many equality operators (eq, ne, ==, ...) all just sugar for some kind of ===
19:17 masak if by "sugar" you mean "delegate to through invocation at runtime", then yes.
19:22 sahadev Perl6 also has eqv. perl6 -e 'my @a = 1..3; my @b = 1..3; (@a == @b, @a === @b, @a eqv @b).say' => True False True
19:24 masak yes, infix:<eqv> is for "structural equivalence".
20:11 moe [moe] stevan pushed 2 new commits to master: http://git.io/F3vEkA
20:11 moe moe/master f350925 Stevan Little: add copy method to the native objects
20:11 moe moe/master c5940fb Stevan Little: add new method to the builtin classes
20:37 jnap joined #moe
21:21 moe [moe] stevan pushed 3 new commits to master: http://git.io/vpn0mA
21:21 moe moe/master 0b01f6b Stevan Little: file test operators
21:21 moe moe/master c66bc9e Stevan Little: first pass at the IO layer, needs a lot of work
21:21 moe moe/master 8832e2f Stevan Little: fix say in the MoeRuntime
21:27 moe [moe] stevan pushed 1 new commit to master: http://git.io/EnsLQA
21:27 moe moe/master 9033d41 Stevan Little: implement close()
21:29 stevan_ joined #moe
21:35 moe [moe] stevan pushed 2 new commits to master: http://git.io/iSZPiA
21:35 moe moe/master 0e1e209 Stevan Little: fix the parser
21:35 moe moe/master 5e2c126 Stevan Little: I had the behavior of say wrong
21:51 gizmomathboy joined #moe
22:44 gizmomathboy joined #moe

| Channels | #moe index | Today | | Search | Google Search | Plain-Text | summary