Performance is reasonable, there is no difference. Style-wise b -> a bit problematic because you have an unused variable b . _ -> a will make more sense. Other than that, it's just a preference.
Personally, I would prefer _ -> a over b -> b , because it does not introduce an additional variable.
PS: I suppose there are more cases in your real code than just b - otherwise you could just write let fa = a .
source share