Skip to content

Instantly share code, notes, and snippets.

@Whateverable Whateverable/query
Created Jun 22, 2019

Embed
What would you like to do?
greppable6
grep.*\.first;
File Code
JMASLAK/Net-BGP
…/Controller.pm6 :63:
@capabilities.grep( { $^c ~~ Net::BGP::Capability::ASN32 } ).first;
JMASLAK/Net-BGP
…/Controller.pm6 :113:
@capabilities.grep( { $^c ~~ Net::BGP::Capability::ASN32 } ).first;
JNTHN/cro
…/LinkTemplate.pm6 :43:
my $endpoint = $cro-file.endpoints.grep(*.id eq $endp).first;
JSTOWE/Lumberjack-Application
…/JSON.pm :128:
my $when = self.^attributes.grep({$_.name eq '$!when'}).first;
JSTOWE/Lumberjack-Application
…/JSON.pm :131:
my $class = self.^attributes.grep({$_.name eq '$!class'}).first;
JSTOWE/Lumberjack-Application
…/JSON.pm :134:
my $level = self.^attributes.grep({ $_.name eq '$!level' }).first;
JSTOWE/Oyatul
…/Oyatul.pm :676:
self.nodes-for-purpose($purpose).grep(*.is-template).first;
JSTOWE/XML-Class
…/Class.pm :1075:
my $element = self.elements(TAG => $name, :SINGLE) || self.elements.map(&check-role).grep({ $_.local-name eq $name && $_.namespace eq $ns}).first;
SKAJI/App-Mi6
…/Mi6.pm6 :31:
my $pair = @($config).grep({ $_.key eq $key }).first;
Altai-man/ASN-META
…/META.pm6 :64:
my $def = $*TYPES.grep(*.name eq $name).first;
jonathanstowe/Lumberjack-Application
…/JSON.pm :128:
my $when = self.^attributes.grep({$_.name eq '$!when'}).first;
jonathanstowe/Lumberjack-Application
…/JSON.pm :131:
my $class = self.^attributes.grep({$_.name eq '$!class'}).first;
jonathanstowe/Lumberjack-Application
…/JSON.pm :134:
my $level = self.^attributes.grep({ $_.name eq '$!level' }).first;
jonathanstowe/Oyatul
…/Oyatul.pm :676:
self.nodes-for-purpose($purpose).grep(*.is-template).first;
jonathanstowe/XML-Class
…/Class.pm :1067:
my $element = self.elements(TAG => $name, :SINGLE) || self.elements.map(&check-role).grep({ $_.local-name eq $name && $_.namespace eq $ns}).first;
kalkin/Ddt
…/Distribution.pm6 :52:
return @candidates.grep(:f & :!l).first;
nige123/app.123.do
…/Timeline.pm :138:
return self.entries.values.map(*.Slip).grep(*.id == $entry-id).first;
noqisofon/p6-miroku
…/Miroku.pm6 :147:
my $meta-file = <META6.json META.info>.grep( { .IO ~~ :f & :!l } ).first;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.