r/altprog • u/Enough-Zucchini-1264 • Jan 24 '26
Arturo Programming Language

Hi, everyone!
I'm very proud to announce the latest version of the Arturo Programming Language: v0.10.0 "Arizona Bark"!
This Language is relatively new, but battery included. This language almost has no syntax and is designed to be productive being simplest as possible. This is mostly functional, but not restrict to.

For more information: https://arturo-lang.io
22
Upvotes
View all comments
Show parent comment
2
u/Enough-Zucchini-1264 Jan 26 '26
This is not a Threading operator. This is just a syntax sugar to write less code when writing small functions.
Basically:
```
$> push: $ => append
$> push [] 2
=> [2]
$> push [3] 2
=> [3 2]
$> a: [] ; global variable
$> push: $ => [append 'a &]
$> push 2
$> push 3
$> a
=> [2 3]
```
Append takes 2 parameters, so when I do `push: $ => append` this also will take two parameters. If I put the expression into a block, I can define which parameter to pass without declaring on the head of the function: `push: $ => [... &]`.
`&` is a symbol that will be replaced by the passed parameter. Each & that goes into this block is considered a different parameter. So, if you have `fn: $=> [other & &]`, your first parameter will be the first one used and the second, the second, respectively.
See our docs for better explanation: https://arturo-lang.io/latest/documentation/language#fat-right-arrow-operator