A new Gleam feature I love - [Giacomo Cvalieri]

https://giacomocavalieri.me/posts/a-new-gleam-feature-i-love

7 points · 1 comments · view on lemmy.world

1 Comments

Nereuxofficial@programming.dev · 1 pts · 2y
Jan
  |> month_to_string
  |> io.println

This is something that really confused me when i first read some gleam code because it does not really look like a function call in other languages, which would be read from right to left but this way seems more logical when considering we read left to right and i think i would really get used to it when i get the opportunity to use it more