Skip to content

TimToady/p6-Slang-Tuxic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slang::Tuxic

This slang allows you to put whitespace between the name of a subroutine and the opening parenthesis. Be aware that this introduces ambiguous situations, like when you want to pass a Parcel to a sub, or when you need parenthesis around the condition after the keywords if, while and so on...

foo 3, 5;   # 15, as usual
foo(3, 5);  # also 15, as usual
foo (3, 5); # 15, /o\

# It also allows to put space before argument lists in method calls:
42.fmt('-%d-');  # -42-
42.fmt: '-%d-';  # -42-
42.fmt ('-%d-'); # -42-

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%