Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/Slang
t
.travis.yml
META6.json
README.md

README.md

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 List 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-
You can’t perform that action at this time.