Skip to content

Commit

Permalink
Re-export using Map instead of Hash (#171)
Browse files Browse the repository at this point in the history
Resolves problem described in Raku/problem-solving#74
  • Loading branch information
vrurg authored and FCO committed Jul 29, 2019
1 parent ca0a368 commit 9329eff
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/Red.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,32 @@ my package EXPORTHOW {
multi EXPORT("red-do") {
use Red::Do;

return %(
Map(
Red::Do::EXPORT::ALL::,
Red::Traits::EXPORT::ALL::,
Red::Operators::EXPORT::ALL::,
'&database' => &database,
);
)
}

multi EXPORT("experimental migrations") {
use MetamodelX::Red::Migration;
MetamodelX::Red::Model.^add_role: MetamodelX::Red::Migration;
MetamodelX::Red::Model.^compose;

return %(
Map(
Red::Traits::EXPORT::ALL::,
Red::Operators::EXPORT::ALL::,
'&database' => &database,
);
)
}

multi EXPORT {
return %(
Red::Traits::EXPORT::ALL::,
Red::Operators::EXPORT::ALL::,
'&database' => &database,
);
Map(
Red::Traits::EXPORT::ALL::,
Red::Operators::EXPORT::ALL::,
'&database' => &database,
)
}

=begin pod
Expand Down

0 comments on commit 9329eff

Please sign in to comment.