Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created December 8, 2015 20:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save zoffixznet/80c6639bc1074300b740 to your computer and use it in GitHub Desktop.
sub conjunction (
*@els,
Str :$lang = 'en',
Str :$sep is copy = ',',
Str :$alt = ';',
Str :$con = %language{ $lang }<con>,
Str :$dis = %language{ $lang }<dis>,
Bool :$last = %language{ $lang }<last>,
Str :$type where any(<and or>) = 'and',
Str :$str = '|list|',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment