[#138] Reduce the usage `$` in Indigo
Description
Problem: Indigo code often contains the $
Haskell operator, however since the language is meant to be used by people not familiar with Haskell it would be great to not make it a necessity.
Solution: Reduce usage of $
in 2 places:
- right before
do
is used for a block code
- Solved by using
BlockArguments
- right after
new
- Solved by treating
new$
as one keyword
Related issue(s)
Resolves #138 (closed)
Depends on #169 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Moremi Vannak