README

NAME

Slang::Tuxic - allow whitespace between subroutine and the opening parenthesis

SYNOPSIS

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-

DESCRIPTION

The Slang::Tuxic module adapts the Raku Programming Language syntax to allow you to put whitespace between the name of a subroutine and the opening parenthesis when calling a subroutine.

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.

AUTHORS

  • Tobias Leich (FROGGS)

Source can be located at: https://github.com/raku-community-modules/Slang-Tuxic . Comments and Pull Requests are welcome.

COPYRIGHT AND LICENSE

Copyright 2014 - 2018 Tobias Leich

Copyright 2023 - 2025 Raku Community

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Slang::Tuxic v0.0.5

Allow whitespace between subroutine and the opening parenthesis

Authors

  • Tobias Leich

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Slang::Tuxic

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.