Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-04-12

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:09 eternaleye_ joined #perl6
00:36 thestarslookdown joined #perl6
01:12 pugs_svnbot r20262 | Darren_Duncan++ | ext/Muldis-DB/ : part 1 of 20080411 resync with Perl 5 version
01:12 pugs_svnbot diff: http://dev.pugscode.org/changeset/20262
01:12 lambdabot Title: Changeset 20262 - Pugs - Trac
01:17 meppel-san joined #perl6
01:17 pugs_svnbot r20263 | Darren_Duncan++ | ext/Muldis-DB/ : part 2 of 20080411 resync with Perl 5 version
01:17 pugs_svnbot diff: http://dev.pugscode.org/changeset/20263
01:17 lambdabot Title: Changeset 20263 - Pugs - Trac
01:23 penk joined #perl6
01:27 Greyscale joined #perl6
01:34 penk joined #perl6
01:51 pen1 joined #perl6
01:54 ofer joined #perl6
02:40 meppel-san good night
03:02 elmex_ joined #perl6
03:09 eternaleye_ joined #perl6
03:29 eternaleye_ joined #perl6
03:54 eternaleye joined #perl6
04:12 mj41___ joined #perl6
04:59 Psyche^ joined #perl6
04:59 alester joined #perl6
05:04 alanhaggai joined #perl6
05:19 pugs_svnbot r20264 | Darren_Duncan++ | ext/Muldis-DB/ : part 3 (done?) of 20080411 resync with Perl 5 version
05:19 pugs_svnbot diff: http://dev.pugscode.org/changeset/20264
05:19 lambdabot Title: Changeset 20264 - Pugs - Trac
05:22 alanhaggai_ joined #perl6
05:27 eternaleye joined #perl6
05:35 eternaleye_ joined #perl6
06:00 sri_work joined #perl6
06:26 alanhaggai_ joined #perl6
13:44 ilbot2 joined #perl6
13:44 Topic for #perl6is now http://pugscode.org/ | nopaste: http://sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: http://irc.pugscode.org/
13:44 moritz_ mncharity: thanks, now started agian
13:47 mncharity :)
13:47 pugs_svnbot r20267 | putter++ | [elf_d] Tweaks in support of elf_e: HASH::dup, and a second copy of irbuild_ir.
13:47 pugs_svnbot r20267 | putter++ | README: Working elf_d_nomoose build instructions.
13:47 pugs_svnbot diff: http://dev.pugscode.org/changeset/20267
13:47 lambdabot Title: Changeset 20267 - Pugs - Trac
13:52 chris2_ joined #perl6
13:59 pugs_svnbot r20268 | putter++ | [elf_e] Moved global subs to GLOBAL.  The current emitter hack for f() is "if I've seen a sub decl for f, emit 'f()', else emit 'GLOBAL::f()'".
13:59 pugs_svnbot diff: http://dev.pugscode.org/changeset/20268
14:00 lambdabot Title: Changeset 20268 - Pugs - Trac
14:01 mncharity maybe prelude next...
14:07 mncharity @tell rouso ping?  it should now be possible to build a smop compiler on elf.  how goes work?
14:07 lambdabot Consider it noted.
14:42 chris2 joined #perl6
14:45 pmurias joined #perl6
14:45 pmurias mncharity: hi
14:46 pmurias why did you have to create elf_e instead of adding analysis to elf_d?
14:46 meppl joined #perl6
14:47 mncharity here's a todo list for someone: tweak autobox to permit mapping subtypes of SCALAR.  eg STRING, NUMBER, perhaps INTEGER, UNSIGNED, FLOAT.  can support the old SCALAR with no performance hit, and the new subtypes at the cost of a hash lookup.
14:49 mncharity hi pmurias.  because elf_c doesn't support the class inheritance used in Analysis, and I didn't want elf_d to be self hosting only, given that it is already carrying the non-trivial step of switching IRs.
14:50 mncharity I think that was it... let's see...
14:51 mncharity yes.  "@ISA can be incrementally extended."
14:52 mncharity s/the cost of a/the cost of a _extra_/
14:52 pmurias using Elf instead of ElfLetter would help moving stuff over ;)
14:53 pmurias mncharity: re autobox how would you do it?
14:55 mncharity in http://search.cpan.org/src/CHOCOLATE/autobox-2.23/autobox.xs  if the reftype is SCALAR, and the hash does _not_ have a SCALAR entry, use SvIOK and friends to create a more specific reftype, and check that.
14:59 pmurias i see
14:59 mncharity that would give a usage of   use autobox SCALAR => undef, STRING => 'STring', NUMBER => 'Number';
15:00 mncharity hmm, let's see, what are the p6 number types...
15:04 mncharity TimToady: S02 mentions Rat, but then doesn't include it in the Im/mutable type list.  Does it exist?
15:06 mncharity Also, S02 lists Int, Num, Complex, Rat, Bit, Bool, but S29 says Num is a role.  What type is a float?
15:08 mncharity I also have a very fuzzy recollection that the type of a literal 3 was some weird Int/Num junction thing?
15:09 [particle] Num is float
15:10 mncharity so S29 is wrong, Num is a class not a role, but... classes can also serve as roles?
15:10 [particle] roles are composition-time only
15:11 [particle] if you request my SomeRole $x,
15:11 [particle] it autovivifies a class out of the role in order to type $x
15:11 [particle] it's in S12 somewhere iirc
15:13 mncharity so  role RA {...}  is identical to  class CA {...}  except RA has a "can be used as a role at composition-time" bit set?
15:14 [particle] well, not exactly
15:14 [particle] if you want to use a class at composition time, the object system tries to make a role out of it for you
15:14 [particle] it's DWIMmy too
15:14 [particle] sometimes this may fail
15:15 [particle] RA and CA differ in their levels of definedness
15:16 mncharity s12: "You can use a role name as a type, but only for constraints, not for declaring actual objects. (However, if you use a role as if it were a class, an anonymous class is generated that composes the role, which provides a way to force a role to test its crony composition for infelicities.)"
15:17 mncharity so every instance of a Num gets a unique anonymous class?
15:18 * [particle] looks in S29 for the "Num is a role" bit
15:18 mncharity http://feather.perl6.nl/syn/S29.html#Num
15:18 lambdabot Title: S29
15:18 mncharity "The following are all defined in the Num role:"
15:19 mncharity if a class Num can be used as a role, then maybe that's just a "not quite right" phrase.
15:20 TimToady no, there's only one anonymous class generated for Num
15:20 TimToady it memoizes
15:20 TimToady which is fine, since role is immutable
15:20 TimToady going the other way, you can only make a role out of a class by taking a snapshot of the class's current state
15:21 TimToady it's still debatable whether that is generally allowed
15:23 [particle] if we can pull it off, it's allowed.
15:23 mncharity so to modify Num's memoized class at runtime, one gets the class with something like $num_class = 3.14.HOW; ?
15:23 [particle] why is the class anonymous, if the role is Num and it's immutable?
15:23 TimToady well, that's the metaclass, which presumably has some way of dealing with its bits
15:24 TimToady it's anonymous so we can pun the name
15:24 yewenbin joined #perl6
15:24 mncharity class NumDeriv is 3.14.HOW { ... }
15:24 TimToady and so that JMD doesn't have to have Tie::Array class to go with Array role
15:24 TimToady it's just Array class and Array role
15:25 TimToady no, a class is not a metaclass
15:25 mncharity oh... .WHAT ?
15:25 mncharity class NumDeriv is 3.14.WHAT { ... }
15:25 TimToady that is likelier to work
15:27 pmurias isn't .HOW the metaclass instance?
15:28 TimToady it's something that does the metaclass role, I suppose...
15:28 mncharity re Array class and Array role...  so a class "is for object management", and a role "is for code reuse"... who handles "type which signifies an Array-like interface"?    Array::Like ?   where Array does Array::Like?
15:29 mncharity Array::Interface
15:29 TimToady roles also work for interfaces
15:29 TimToady if you just ignore their suggested implementations
15:30 mncharity how does one say  'does Array :but_ignore_its_suggested_implementations' ?
15:30 TimToady $x ~~ Array
15:31 mncharity class A2 does Array(:but_ignore_its_suggested_implementations) { ... } ?
15:31 TimToady you mean composition...
15:31 TimToady just override all the methods
15:33 pmurias if you miss one you'll end in trouble
15:34 pmurias s/one/any/
15:34 mncharity a cpan module Array::Interface with all the method bodies overwritten with yadas?
15:35 [particle] you can loop over the list of methods and redefine them
15:35 Tene I dunno... sounds like it might be nice to have a convenient way to say "I already provide the interface of this role..."
15:36 pmurias mncharity: but_ignore_method_implementations(::Foo) function in a cpan module would be better
15:36 Tene Perl could even check to confirm.
15:36 TimToady seems like a pretty easy thing to do
15:36 mncharity re loop, feels like ruby. :)   (Array.methods - Object.methods).each{...}
15:36 moritz_ you can just write a class that 'does Positional', can't you?
15:37 moritz_ you don't have to use the Array class at all
15:37 Tene class MagicArray provides Array { ... }
15:37 mncharity re bimi function, nice.  though... applied to roles it seems straightforward.  applied to classes, less so.
15:40 mncharity re roles, or no?  compile-time role composition has multiple definition as an error.  so does()ing an Array::Interface at compile-time...  you can't say  class A2 does AnImperfectArrayImplementation does Array::Interface {}  ?  that would go boom, yes?
15:41 TimToady a class can override any colliding methods
15:42 mncharity that requires A2 to mention them all, rather defeating the point of code reuse
15:42 mncharity use Xlib2 does PartialXlibImpl does XlibSpec { ...400 pointless functions... }
15:43 TimToady so don't use imperfect role models :)
15:44 pmurias mncharity: a partial implementation dosn't match the spec for obvious reasons ;)
15:44 mncharity well, I'm not sure were at the bottom of that one, but mission creep
15:45 mncharity pmurias: so it looks like a STRING, INTEGER, NUMBER distinction might be most useful
15:45 mncharity unless one wants to potentially expose p5 types as the  int  and uint  p6 types...
15:46 mncharity pmurias/et al :)
15:46 alanhaggai joined #perl6
15:48 mncharity but for now, I'll fudge it in a SCALAR prelude, which checks the magic "is it a string or number" phrase, and ... redispatches.  +sub_call_cost on each string op. :/
15:50 mncharity ~$obj&$obj  <- the magic.
15:50 mncharity from Class/Multimethods.pm
15:51 mncharity if anyone knows a better approach... I'd be most interested.   "better" == "faster on 5.10" :)
15:58 justatheory joined #perl6
16:05 mncharity @perl [0,1].shape
16:05 lambdabot Maybe you meant: keal part pl spell tell url vera
16:05 mncharity perl: [0,1].shape
16:05 TimToady nobody does S09 yet
16:08 mncharity [].end  is ... undef?  s29 says index of final element.
16:09 mncharity final subscript of the first dimension
16:11 TimToady [] is one dimensional as a term
16:11 TimToady so just -1
16:11 TimToady .[] is 0-dimensional
16:12 TimToady I suppose Array is 0 dimensional :)
16:14 FurnaceBoy joined #perl6
16:14 mncharity lol
16:16 mncharity s29 Array exists() and delete() appear to be handling their @indices in a confusingly inconsistent manner.
16:17 ruoso joined #perl6
16:17 mncharity hmm, or maybe not.  nm
16:20 TimToady are they the newer :exists and :delete forms?  If not, they're probably fossils
16:20 TimToady sorry, don't have time to check it all myself--still trying to catch up with p6l backlog... :)
16:24 mncharity newer :exists and :delete?  sigh.  sounds like I'm doing fossils
16:25 mncharity the s29 Array pop/shift/push/unshift sigs should probably be all @array _is rw_.
16:26 mncharity anyone have a pointer to "newer :exists and :delete forms"?
16:27 TimToady invocant is rw already
16:27 TimToady S12:755
16:29 TimToady and in fact, splice doesn't need the rw
16:29 TimToady presumably the exported versions of methods also mark the first arg as rw
16:31 mncharity ah, ok
16:36 pmurias does compile (or copy over if timestamp/checksum matches) and follow all the @DEPENDENCIES outputing a directory of files sound like a sane way to do seperate compilation?
16:39 wtgee joined #perl6
16:43 mncharity I don't know of a sane way to do separate compilation.  because,
16:44 pmurias mncharity: continue please ;)
16:46 pmurias mncharity: would replacing Compiler be the right way to experiment with seperate compilation?
16:48 mncharity timestamp is just a proxy for content.  so the "traditional"  foo.c -> foo.o  is simply a mapping from <foo> to an output file.  with the timestamp of the Makefile, and dependencies from *.o to the Makefile, encoding "what compiler and options were used".
16:49 mncharity so could add a .p5 suffix recognition to...
16:56 mncharity yeah, it would be Compiler.  but
16:57 mncharity hmm
16:59 ujwalic joined #perl6
17:00 mncharity since you are going to need a makefile anyway, I'm wondering whether it might be easier to  -s the individual files, and just cat them on to the end of one generated by compiling an empty file (to get the prelude).
17:00 pmurias mncharity: i'm not going to use a makefile
17:00 mncharity separate build dirs?
17:01 japhb joined #perl6
17:01 pmurias mncharity: sort of
17:01 mncharity and adding a builddir option to elf?  or using builddirs via -I, and teaching use() about .p5?
17:01 pmurias yes
17:02 mncharity yes, which?
17:02 pmurias all of them
17:03 pmurias the first one really
17:06 mncharity re sane, how long does it take your moose elf to start up?
17:06 mncharity (for me, separate compilation would actually take longer...  oh, right.  compile multiple files in invocation.  nm)
17:08 mncharity is there any kind of perl "mips" module?  Ie, so we can tell that my machine is running N perl ops per second, and yours is running M?
17:08 pmurias don't know of any
17:10 pmurias my current view of seperate compilation is elf --seperate-compilation Elf.pm -o elf creating a directory named "elf" with compiled Elf.pm and all the p6 stuff it uses in it
17:14 mncharity re mips, ah well.  re sane, I guess it sound sane, given the performance you are still seeing?  I just wish we were sure it's your machine being inherently slow, before adding complexity... .
17:15 mncharity re api, it would be nice if -o didn't change meaning.  so elf --foo=builddir ...everything else is the same as usual...
17:17 mncharity elf --cachedir=bar/ -o elfx ElfX.pm ?
17:19 pmurias --builddir maybe
17:20 Auzon joined #perl6
17:22 ujwalic joined #perl6
17:23 mncharity if you use checksums, then you don't have to duplicate a directory tree in bar, and "cache" would be a good name.  if you mirror the tree, then "build dir" is a good name.
17:25 pmurias you mean renaming the filenames to checksums?
17:25 pmurias i think duplicating the tree is better
17:26 mncharity re checksums, yes.  eg, what STD_red is doing in STD_RED_CACHEDIR.
17:26 pugs_svnbot r20269 | putter++ | [elf_d] Compiler now has hooks for caching to avoid compilation.
17:26 pugs_svnbot diff: http://dev.pugscode.org/changeset/20269
17:26 lambdabot Title: Changeset 20269 - Pugs - Trac
17:26 mncharity btw, you are setting STD_RED_CACHEDIR, yes?
17:27 mncharity so you should be able to just inherit from Compiler now, and use whichever scheme you want.
17:27 Greyscale left #perl6
17:27 pmurias mncharity: yes ;)
17:28 mncharity :)
17:28 mncharity feel free to change the hooks.  I was just sketching them in to see what it would look like.
17:31 mncharity anyone know if there is a standard method name for shallow copy?  eg, dup or clone in ruby?
17:32 pmurias i think it's clone
17:35 mncharity ah, ok.
17:35 mncharity tnx
18:05 barney joined #perl6
18:18 pmurias mncharity: does perl5.10 run elf faster then perl5.8.8
18:21 aindilis joined #perl6
18:24 mncharity pmurias: don't know, checking...
18:26 mncharity 9.5 vs 10.9 sec
18:26 mncharity so not by much
18:36 pmurias for elf_d
18:36 pmurias ?
18:40 pmurias i get ~10sec for nomoose
18:41 meppl joined #perl6
18:46 mncharity for elf_e moose
18:48 mncharity lunch.  bbl &
18:49 mncharity re ~10sec for nomoose, :/
18:50 mncharity could it be something silly like perl was built unoptimized?
18:57 eternaleye_ joined #perl6
19:00 mncharity pmurias: note that when working on the emitter, you can avoid one compile cycle by doing  elfw EmitWhatever.pm -o elfx ElfX.pm   The EmitWhatever is used to generate elfx, rather than the emitter compiled into elfw.
19:01 cmarcelo joined #perl6
19:48 stevan_ joined #perl6
19:53 ujwalic joined #perl6
20:16 eternaleye joined #perl6
20:22 literal <mncharity> literal: are you setting PUGS_EMBED?
20:22 literal yes, to "parrot perl5"
20:24 moritz_ don't embed parrot
20:24 moritz_ it's kinda b0rked atm
20:24 moritz_ the PIL/PIR emitter, that is
20:34 literal moritz_: my buils still fails in the same way if I don't embed parrot
20:34 literal build
20:34 literal http://sial.org/pbot/30800
20:34 lambdabot Title: Paste #30800 from "literal" at 194.144.99.91
20:43 moritz_ literal: did you try a 'make realclean' first?
20:43 moritz_ *** Wasn't able to find 'Parrot_stub.o' (this may be a problem)...
20:43 moritz_ this looks like it shouldn't happen without parrot
20:43 literal it's a clean make
20:44 moritz_ pugs: say $?VERSION
20:44 exp_evalbot OUTPUT[6.2.13␤]
20:44 moritz_ pugs: say $?REVISION
20:44 exp_evalbot OUTPUT[*** Undeclared variable: ("$?REVISION",MkPad (padToList [("$_",PELexical {pe_type = (mkType "Scalar"), pe_proto = <Scalar:0xb689e30c>, pe_flags = MkEntryFlags {ef_isContext = True}, pe_store = <ref:0xb68a66d8>}),("@_",PELexical {pe_type = (mkType "Array"), pe_proto = <Array:0xb689f7f8>,
20:44 exp_evalbot ..pe_flags = MkEntryFlags {ef_isContext = False}, pe_s...
20:46 TimToady pugs: say $?PUGS_VERSION
20:46 exp_evalbot OUTPUT[Perl6 User's Golfing System, version 6.2.13, October 17, 2006 (r18093)␤]
20:49 moritz_ literal: current versions are broken. r18093 is known to compile with GHC 6.6.1 at least
20:50 literal the whole thing actually compiles, as you see (right?), seems to be something else a matter
20:52 moritz_ aye
20:52 moritz_ and r18093 actually *works*
20:52 moritz_ like, it executes code. Smoking works etc.
21:07 jferrero joined #perl6
21:15 eternaleye_ joined #perl6
21:17 syle joined #perl6
21:23 ez joined #perl6
21:23 pugs_svnbot r20270 | Darren_Duncan++ | ext/Muldis-DB/ : temp removed Value.pm , it will return later
21:23 pugs_svnbot diff: http://dev.pugscode.org/changeset/20270
21:23 lambdabot Title: Changeset 20270 - Pugs - Trac
21:44 pugs_svnbot r20271 | Darren_Duncan++ | renamed ext/Muldis-DB/ to ext/Muldis-Rosetta/
21:44 pugs_svnbot diff: http://dev.pugscode.org/changeset/20271
21:44 lambdabot Title: Changeset 20271 - Pugs - Trac
21:50 alanhaggai__ joined #perl6
21:56 eternaleye joined #perl6
22:02 pugs_svnbot r20272 | Darren_Duncan++ | ext/Muldis-Rosetta/ : part 1 of renaming Muldis DB to Muldis Rosetta - file/path renames
22:02 pugs_svnbot diff: http://dev.pugscode.org/changeset/20272
22:02 lambdabot Title: Changeset 20272 - Pugs - Trac
22:03 IllvilJa joined #perl6
22:08 ez left #perl6
22:27 meppl joined #perl6
22:32 mncharity wow.  amazing weather in BOS.  the expression is "weather fronts collide", but how often are things lit so you can watch "there's a cloud zooming along... slam, smoosh, rip, shred, blam... no more cloud" in a few 10's of seconds.
22:58 mncharity anyone know if ref() is still part of p6?  the few instances of it in t/ look fossil-like.
22:59 Auzon I'm pretty sure it's replaced by .WHAT and such, but I'm looking
23:00 thestarslookdown joined #perl6
23:03 wtgee joined #perl6
23:04 mncharity thanks! :)
23:04 Auzon I can't actually find the specs in the Pugs SVN repo though :-/
23:04 Auzon You can also use "$var ~~ HASH"
23:04 Auzon pugs: $var = {}; $var ~~ HASH
23:04 exp_evalbot OUTPUT[*** ␤    Unexpected " ="␤    expecting "::"␤    Variable "$var" requires predeclaration or explicit package name␤    at /tmp/ahQ3Jtuqic line 1, column 5␤]
23:04 Auzon pugs: $var = {}; $var ~~ HASH;
23:04 exp_evalbot OUTPUT[*** ␤    Unexpected " ="␤    expecting "::"␤    Variable "$var" requires predeclaration or explicit package name␤    at /tmp/NPywboueAz line 1, column 5␤]
23:05 Auzon hm... I'm missing something
23:05 [particle] rakudo: my $var = {}; say $var ~~ Hash;
23:05 exp_evalbot OUTPUT[0␤]
23:05 [particle] rakudo: my %; say %var ~~ Hash;
23:06 exp_evalbot OUTPUT[Statement not terminated properly at line 1, near "%; say %va"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc 16390 (src/gen_grammar.pir:2404)␤called from Sub
23:06 exp_evalbot ..'parrot;Perl6::Grammar;statement_block' pc 13561 (src/gen_grammar.pir:1390)␤called f...
23:06 Auzon perl6: $var = {}; $var ~~ Hash;
23:06 exp_evalbot kp6: OUTPUT[no method 'APPLY' in Class 'Undef'␤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345␤   KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x824c084)', 'APPLY') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169␤
23:06 exp_evalbot ..main::DISPATCH('HASH(0x824c084)', 'APPLY') called at compiled/perl5-kp6-mp6/lib/Kin...
23:06 exp_evalbot ..pugs: OUTPUT[*** ␤    Unexpected " ="␤    expecting "::"␤    Variable "$var" requires predeclaration or explicit package name␤    at /tmp/K7PqhQK2zI line 1, column 5␤]
23:06 Auzon Oops.
23:06 exp_evalbot ..rakudo: OUTPUT[Scope  not found for PAST::Var '$var'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 158 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1207 (src/PAST/Compiler.pir:144)␤called from Sub 'parrot;PAST::Compiler;inline' pc 4310
23:06 exp_evalbot ..(src/PAST/Compiler.pir:1062)␤called from Sub 'parrot;PAST::Compiler;post...
23:06 Auzon sorry [particle]
23:06 [particle] rakudo: my %var; say %var ~~ Hash;
23:06 exp_evalbot OUTPUT[1␤]
23:07 [particle] rakudo: my $var = {}; say $var.WHAT;
23:07 exp_evalbot OUTPUT[Code␤]
23:08 Auzon Then again, hashrefs are dead and captures should be used instead, which I don't know yet
23:10 Limbic_Region joined #perl6
23:12 mncharity ok, thanks.
23:15 ujwalic_ joined #perl6
23:21 mncharity okay... WHAT's up.
23:22 justatheory joined #perl6
23:23 mncharity so who's going to translate the classic "Who's on first?" joke to p6?
23:25 Auzon pugs: $.WHO
23:25 exp_evalbot OUTPUT[*** Undeclared variable: ("$__SELF__",MkPad (padToList [("$_",PELexical {pe_type = (mkType "Scalar"), pe_proto = <Scalar:0xb699ee40>, pe_flags = MkEntryFlags {ef_isContext = True}, pe_store = <ref:0xb67de42c>}),("@_",PELexical {pe_type = (mkType "Array"), pe_proto = <Array:0xb699e2dc>,
23:25 exp_evalbot ..pe_flags = MkEntryFlags {ef_isContext = False}, pe_st...
23:25 Auzon I think we need .WHO first ;)
23:26 mncharity lol
23:36 mncharity pugs: Str ~~ Object
23:36 exp_evalbot RESULT[Bool::True]
23:36 mncharity pugs: Str ~~ Any
23:37 mncharity pugs: Str.does(Str)
23:37 Auzon hm, it didn't like that one :P
23:37 mncharity :)
23:37 mncharity pugs: Str.isa(Object)
23:37 [particle] rakudo: Str ~~ Any
23:37 exp_evalbot RESULT[Method 'perl' not found for invocant of class 'Bool'␤current instr.: '_block10' pc 35 (EVAL_11:16)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 785 (src/PCT/HLLCompiler.pir:458)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1067 (src/PCT/HLLCompiler.pir:587)␤called from Sub
23:37 exp_evalbot ..'parrot;PCT::HLLCompiler;command_line' pc 1246 (src...
23:37 [particle] rakudo: say Str ~~ Any
23:37 exp_evalbot OUTPUT[0␤]
23:38 [particle] rakudo: say Perl6Str ~~ Any
23:38 exp_evalbot OUTPUT[0␤]
23:38 [particle] hrm
23:38 Auzon rakudo: say Any ~~ Any
23:38 [particle] rakudo: say String ~~ Any
23:38 exp_evalbot OUTPUT[1␤]
23:38 exp_evalbot OUTPUT[0␤]
23:38 mncharity rakudo: say Str ~~ Object
23:38 wolverian mncharity, leading space :)
23:38 wolverian rakudo: say Str ~~ Object
23:38 exp_evalbot OUTPUT[1␤]
23:39 mncharity sigh.  thanks
23:39 wolverian np
23:39 [particle] looks like rakudo still needs a little jiggering in its type hierarchy
23:39 mncharity pugs: Str ~~ Any
23:39 mncharity pugs: Str ~~ Any
23:39 mncharity pugs: 3
23:39 [particle] rakudo: say Junction ~~ Any
23:39 exp_evalbot OUTPUT[0␤]
23:39 Auzon rakudo: say Object ~~ Any
23:39 exp_evalbot OUTPUT[0␤]
23:39 [particle] rakudo: say Junction ~~ Object
23:39 exp_evalbot OUTPUT[1␤]
23:40 mncharity pugs: 3
23:40 exp_evalbot RESULT[3]
23:40 [particle] rakudo: say Any ~~ Object
23:40 exp_evalbot OUTPUT[1␤]
23:40 mncharity pugs: Str ~~ Any
23:40 exp_evalbot RESULT[Bool::True]
23:41 mncharity pugs: Str.isa(Any)
23:41 exp_evalbot RESULT[Bool::True]
23:42 tango1 joined #perl6
23:43 tango1 hey everyone
23:43 Auzon Hi.
23:43 tango1 wow a long time since I been in an IRC chat room
23:44 Tene Hi!
23:45 wolverian welcome back, then :)
23:45 tango1 been at least over 4 years
23:50 xdg joined #perl6
23:59 alanhaggai_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo