Skip to content

Instantly share code, notes, and snippets.

@lizmat

lizmat/result.md Secret

Created February 17, 2025 09:52
Show Gist options
  • Save lizmat/786cb4680e2952a92607d0fc9d503232 to your computer and use it in GitHub Desktop.
Save lizmat/786cb4680e2952a92607d0fc9d503232 to your computer and use it in GitHub Desktop.
rakkable: eco-provides Stash

Data::Dump::Tree:ver<2.8.0>:auth<github:nkh>

lib/Data/Dump/Tree/DescribeBaseObjects.pm6

219:multi method get_header (Stash $s) { '', '.' ~ $s.^name ~ ' {' ~ ($s.keys.flat.elems) ~ '}' }
222:#multi method get_elements (Stash $s) { $s.sort(.key)>>.kv.map: -> ($k, $v) {$k, ' => ', $v} }
223:multi method get_elements (Stash $s) { $s.sort(
.key)>>.&{.key, .value}.map: -> ($k, $v) {$k, ' => ', $v} }


Data::TypeSystem:ver<0.1.6>:auth<zef:antononcube>:api<1>

lib/Data/TypeSystem/Examiner.rakumod

199: when $_ ~~ Stash {


Dawa:ver<0.0.9>:auth<cpan:BDUGGAN>

lib/Dawa.rakumod

162: QAST::WVal.new( :value($*W.find_single_symbol('PseudoStash')))


Grok:ver<0.0.3>:auth<zef:jaguart>

lib/Grok/Moppet.rakumod

139: # say $layout.sprintf("ours"), $thing.WHO.keys.join(' ') if $thing.WHO.?elems; # Stash names


Inline::Perl5:ver<0.60>:auth<cpan:NINE>

lib/Inline/Perl5.pm6

1018: my $stash := $handle ?? Stash.new !! ::GLOBAL.WHO;
1067: method export-package() returns Stash {
1068: Stash.new
1107:method !import_wrapper_class(Str $module, Stash $stash) {
1366: my $outer_ctx := $broken-rakudo ?? nqp::getattr($context, PseudoStash, '$!ctx') !! Nil;

lib/Inline/Perl5/ClassHOW.pm6

97: does Metamodel::Stashing


Inline::Python:ver<0.5>:auth<cpan:NINE>

lib/Inline/Python.pm6

412: my $stash := Stash.new;
441: submethod fill(Stash $unit, &EXPORT) {
454: method export-package() returns Stash {
455: Stash.new
640: PseudoStash :$context,


Inline::Ruby:ver<0.4.1>:auth<github:awwaiid>

lib/Inline/Ruby.pm6

111: PseudoStash :$context


Rainbow:ver<0.3.0>:auth<zef:patrickb>

lib/Rainbow/RakuGrammar.rakumod

993: 'Metamodel::Stashing' | 'Metamodel::Trusting' | 'Metamodel::Versioning' | 'Method' | 'Mix' |
999: 'PseudoStash' | 'QuantHash' | 'RaceSeq' | 'Raku' | 'Range' | 'Rat' | 'Rational' | 'RatStr' |
1001: 'Seq' | 'Sequence' | 'Set' | 'SetHash' | 'Setty' | 'Signature' | 'size_t' | 'Slip' | 'Stash' |


Template6:ver<0.14.0>:auth<zef:raku-community-modules>

lib/Template6/Context.rakumod

4:use Template6::Stash;
12:has $.stash is rw handles <reset>; # Our Stash object.
32: $!stash = %args<stash> // Template6::Stash.new(|%args);

lib/Template6/Stash.rakumod

1:unit class Template6::Stash;


Test::Async:ver<0.0.17>:auth<zef:vrurg>

lib/Test/Async/Hub.rakumod

197:Sets C<caller-ctx> attribute. C<$ctx> could be a C<Stash> or a C<PseudoStash>.
412:my subset CALLER-CTX of Any where Stash:D | PseudoStash:D;
438:# Caller frame Stash/PseudoStash


Trait::Traced:ver<0.4.4>:auth<cpan:KAIEPI>:api<1>

lib/Traced/Stash.pm6

3:unit class Traced::Stash is Traced;
8:has Stash:D $.stash is required;
15:multi method new(::?CLASS:_: Access::Lookup $access;; Stash:D $stash, Str:D $key, *%rest --> ::?CLASS:D) {
21: Stash:D $stash,
55: Traced::Stash.trace: Access::Lookup, self, $key
60: Traced::Stash.trace: Access::Bind, self, $key, $old-value, $new-value;
65: Traced::Stash.trace: Access::Assign, self, $key, $old-value, $new-value;
69:multi method wrap(::?CLASS:U: Stash:D $stash is raw --> Mu) {
73:multi method trace(::?CLASS:U: Access::Lookup;; Stash:D $stash, Str:D $key --> Mu) is raw {
74: $stash.Stash::AT-KEY: $key
79: Stash:D $stash,
90: Stash:D $stash,

lib/Trait/Traced.pm6

7:use Traced::Stash;
100:multi sub trait_mod:<is>(Mu \T where Kind[Metamodel::Stashing], Bool:D :traced($)! where ?*) is export {
101: Traced::Stash.wrap: T.WHO;


Type::EnumHOW:ver<0.0.2>:auth<cpan:KAIEPI>

lib/Type/EnumHOW.pm6

17:my subset StashLike where .WHO ~~ Stash | PseudoStash;
20:has StashLike:U $!package;
42:method package(Mu $enum is raw --> StashLike:U) {
46:method set_package(Mu $enum is raw, StashLike:U $package --> StashLike:U) {
103: nqp::eqaddr(nqp::decont($!package), StashLike),
183:=item B<^set_package>(I<$package> where
.WHO ~~ Stash | PseudoStash)


Vikna:ver<0.0.3>:auth<cpan:VRURG>

lib/Vikna/Object.rakumod

179: has PseudoStash $!ctx is built(True);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment