this post was submitted on 29 Jul 2024
7 points (100.0% liked)

Gleam

78 readers
1 users here now

A community for the gleam programming language! https://gleam.run/

founded 9 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)
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