This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proto infix:<=>($, $) is rw { * } | |
multi infix:<=>(Mu \a, Mu \b) is rw { | |
nqp::p6store(a, b) | |
} | |
multi infix:<=>(Mu \a, Nil \b) is rw { | |
if nqp::iscont(a) { | |
nqp::p6store(a, a.VAR.of); | |
} | |
else { X::Assignment::RO.new.throw; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
use Test; | |
plan 10; | |
#bare sigils | |
lives_ok { my $ }, 'basic bare sigil $'; | |
lives_ok { my @ }, 'basic bare sigil @'; | |
lives_ok { my % }, 'basic bare sigil %'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use feature 'say'; | |
package Promise { | |
my $STATE; # = 'PENDING'; | |
my $fulfillvalue; | |
my $rejectreason; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function toggleSection(toggleObj, id, showtext, hidetext) { | |
var e = document.getElementById('sectionblock'+id); | |
if(toggleObj.innerHTML == showtext) { | |
toggleObj.innerHTML = hidetext; | |
e.style.display = 'block'; | |
} | |
else { | |
toggleObj.innerHTML = showtext; | |
e.style.display = 'none'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20150802 | 6 | |
---|---|---|
20150803 | 1 | |
20150804 | 1 | |
20150806 | 1 | |
20150807 | 1 | |
20150809 | 1 | |
20150812 | 3 | |
20150813 | 1 | |
20150815 | 1 | |
20150816 | 2 |
OlderNewer