top | item 33824351

(no title)

_fullpint | 3 years ago

I write a lot of Rust these days and unfortunately really great FP stuff is pretty damn cumbersome to write.

discuss

order

100001_100011|3 years ago

I found this viewpoint about FP in Rust pretty interesting. Can you elaborate?

_fullpint|3 years ago

One, the lack of support for HKT isn’t great. There are some work arounds, but they aren’t particularly safe and end up being pretty cumbersome to implement.

Another big one is while the language supports lambdas and closures, it’s highly recommended to not perform any currying.