Is your request related to a problem? Please describe.
The current syntax uses a keyword (function) which may also be a common function name. Also, the -> operator is used.
Describe the solution you'd like
Remove the function keyword and the -> operator and replace it with the type-name function-name syntax.
Example: function test() becomes void test()
Describe alternatives you've considered
Keep the current syntax which would make work easier for people coming from more "simple", functional languages like Rust or Gleam (which both are huge inspirations for this project).
Additional context
There have been multiple polls made about this on our discord server.
Is your request related to a problem? Please describe. The current syntax uses a keyword (
function
) which may also be a common function name. Also, the->
operator is used.Describe the solution you'd like Remove the
function
keyword and the->
operator and replace it with thetype-name function-name
syntax.Example:
function test()
becomesvoid test()
Describe alternatives you've considered Keep the current syntax which would make work easier for people coming from more "simple", functional languages like Rust or Gleam (which both are huge inspirations for this project).
Additional context There have been multiple polls made about this on our discord server.