Haskell does not have return
or statements, only expressions.
Well, okay, it has do
-notation, which resembles statements if you don't squint too hard. But Haskell has very few syntactic elements, so there is no need to worry about disambiguating between e.g. a; [b].c
and a[b].c
like there is in Rust.
(It also has a function called return
, which you might see used in places that occasionally resemble a function return, but it doesn't really do what you might think)